
Dancing Google / Randy Zhang
最近はレガシーコードと向き合えなくて逃避ぎみの毎日を送っています
TDDとか興味はあるというか推し進めなきゃいけないんだろうけどなにか他にも説得力があるものはないかなと「バグ予測アルゴリズム」試してみました
gemでインストールが必要みたいなのでrubyを入れるところから始めます
rubyのインストール
gemを使うのでrubyを入れます
新しいrubyはgemも一緒にはいるっぽいので新しいのを入れます
依存モジュールのインストール
yum -y install zlib-devel yum -y install openssl-devel yum -y install mysql-devel |
rubyをソースからインストール
cd /usr/local/src wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.gz tar xfz ruby-1.9.2-p0.tar.gz cd ruby-1.9.2-p0 ./configure make make install |
入ったかどうかの確認
ruby -v gem -v |
参考リンク:CentOSへの Ruby On Rails インストール手順|てつのググり歴。
bugspotsのインストール
gem install bugspots |
bugspotsの実行
bugspots /var/www/test |
こけました
Scanning /var/www/test repo /usr/local/lib/ruby/gems/1.9.1/gems/grit-2.4.1/lib/grit/repo.rb:51:in `initialize': /var/lib/jenkins/jobs/user/workspace (Grit::InvalidGitRepositoryError) from /usr/local/lib/ruby/gems/1.9.1/gems/bugspots-0.0.4/lib/bugspots/scanner.rb:9:in `new' from /usr/local/lib/ruby/gems/1.9.1/gems/bugspots-0.0.4/lib/bugspots/scanner.rb:9:in `scan' from /usr/local/lib/ruby/gems/1.9.1/gems/bugspots-0.0.4/bin/bugspots:44:in `<top (required)>' from /usr/local/bin/bugspots:19:in `load' from /usr/local/bin/bugspots:19:in `<main>' |
gitが入っていないと動かないみたい??
yum install git Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Setting up Install Process No package git available. Nothing to do |
あれ、git、yumで入らんかったっけ??
仕方ないのでepelを使って入れる
yum install git --enablerepo=epel |
入ったので再び叩いてみる
Scanning /var/www/test repo /usr/local/lib/ruby/gems/1.9.1/gems/grit-2.4.1/lib/grit/repo.rb:51:in `initialize': /var/lib/jenkins/jobs/user/workspace (Grit::InvalidGitRepositoryError) from /usr/local/lib/ruby/gems/1.9.1/gems/bugspots-0.0.4/lib/bugspots/scanner.rb:9:in `new' from /usr/local/lib/ruby/gems/1.9.1/gems/bugspots-0.0.4/lib/bugspots/scanner.rb:9:in `scan' from /usr/local/lib/ruby/gems/1.9.1/gems/bugspots-0.0.4/bin/bugspots:44:in `<top (required)>' from /usr/local/bin/bugspots:19:in `load' from /usr/local/bin/bugspots:19:in `<main>' |
動かない…もしやgit使っているものにしか使えないのか?
githubから適当に取ってきてみて試す
git clone git://github.com/nobuhiko/questionnaire.git bugspots ./questionnaire Scanning . repo Found 0 bugfix commits, with 0 hotspots: Fixes: Hotspots: |
動いたけど、、、、つまりリポジトリのコミット履歴からバグ発生しそうなところを分析してくれるってことなのかな??
推測を確かめるために活発に活動してそうなリポジトリを勝手に分析してみる
git clone git://github.com/cakephp/cakephp.git
bugspots ./cakephp
Scanning ./cakephp/ repo
Found 269 bugfix commits, with 339 hotspots:
Fixes:
- Fixing issue where changing the case for an action in the url would allow the action in the AuthComponent making it accessible to not-logged in users
- Fix issue with dots in request URLs.
- Add test for XML.
- Escape special characters in XML.
- Moving AppShell inside Console/Command for consistency with file location of other App classes. Also making all core shells and tasks extends AppShell instead of Shell. Closes #2278
- Preventing memory leak in PDO when retrieving results from the driver, fixes #2293
- Fix protocol relative urls for CSS and JS files.
- Fix double / issue in ExtractTask
- Fix nested name attributes for submit()
- fixing CakeTestModel constructor of previous commit, cleaning up after schema() call
- fixing test to ensure tests dont fail on 1 second timestamp diff
- Merge pull request #327 from bigclick/patch-1
- Fix import.
- Fix failing tests caused by previous commit.
- CakeSchema updated for 2.0
- Fix for when trying to use "Console/cake schema generate snapshot" command, line 67 was making the name param snapshot, also fixed auto numbering in the case where the filename wasn't "schema"
- CakeException subclasses render correctly now.
- Fix issue with button() and nested name attributes.
- Fix issue in TimeHelper with translated values.
- Fix issue in Router with prefixes.
- Merge pull request #297 from markomarkovic/73429b357f06cd76f35d81482dd789b1737fe2b9
- Add stricter validation to TestTask.
- Add CakeRequest::__isset()
- Add sorting on joined model virtual field, fixes #2250
- Fix failing test, moving timestamp define before the save to ensure it cannot be off by a second
- Fix tests which might fail due to unexpected order on finds
- Fixing TMP cleanup code in FolderTest
- Removing _Token from request data.
- Fix ambiguous content types in RequestHandler.
- Fix more strict errors.
- Rename file.
- Fix issue with duplicate class inclusions.
- Fix requestAction post simulation.
- Fix more strict errors.
- Fixing strict errors.
- Update test.
- Updating for PHP5.4
- Fix keying in SessionHelper::flash()
- Fix session flash with plugins.
- Fix html coverage reporting.
- Fix issue where REST actions were not easily testable.
- Fix Helper::field() for Model.min
- fixing helptext for AclShell
- Merge pull request #304 from jamiemill/2.0-upgradefix2
- Merge pull request #308 from shama/patch-3
- Fix docblock formatting with Time Helper Test
- Merge pull request #306 from shama/patch-2
- Merge pull request #296 from majna/2.0-dbconfig-task
- removing unused variable, fixes #2227
- Fix incorrect toQuarter docblock return tag
- Merge pull request #305 from majna/2.0-prefixed-actions
- Make View task use prefixed template before falling back to generic one. It is possible now to create view templates for different prefixes.
- Fixed mistake in UpgradeShell::exceptions()
- Fixed bug in UpgradeShell::findFiles().
- Fix for UpgradeShell::helpers() not discovering core helpers.
- Make parent method check explicit to Shell.
- Merge pull request #302 from majna/2.0-viewtask-methods
- Fixing bug where content length was not set for clients which don't accept compressed response. Closes #2225
- Change var -> public in controllertask.
- Revert "Fix missing objects in App::objects()"
- Fix failing tests caused by changes in App::objects()
- Fix View task generating only 'admin' methods views in non-interactive mode.
- Removed unused option `triggerDisabled` from ObjectCollection::trigger().
- Fix missing objects in App::objects()
- Defaulting autoMock to true.
- Merge pull request #301 from jamiemill/2.0-upgradefix
- Removed invalid 'Helper' suffix in UpgradeShell::helpers()
- Merge pull request #300 from jamiemill/2.0-upgradefix
- Fixed missing array wrap in UpgradeShell::tests()
- Nerfing coverage generation with PHPUnit3.6 for now.
- Apply patch from 'Carlos Gant'
- Merge pull request #299 from majna/2.0-view-task
- Fix View task missing 'app' param when baking custom action.
- Fix comment in I18n
- Fixing remaining failing tests in PHPUnit 3.6
- Starting to fix issues with PHPUnit 3.6 compatibility.
- Fix exception expectations.
- Fix notice when baking db config: Undefined variable 'driver'.
- Fixed inconsistent debug parameters and empty '(line )'
- Fixing Content-Length calculation when there is buffered output that will be sent before the response body. fixes #2208
- Fix issue with Controller::setAction()
- Merge pull request #294 from majna/2.0-extract-win
- Fixing ignored '--exclude-plugins' option on Windows for Extract task.
- Make formatting tag removal smarter.
- Fix issue where unknown exceptions would be squashed.
- Fix encoding issues with debug().
- Fixing regression in ControllerTestCase after changes done in RequestHandlerComponent
- Merge pull request #288 from markomarkovic/2.0
- Fixed typos in css
- Fix UUID issue in SQLite
- Fix issue in RequestHandlerComponent.
- Fix whitespace and add usage to doc block.
- Fixing DbConfigTask to produce correct configurations
- Fix missing urlencod/urldecode in routing.
- Fix validation detection in FormHelper
- Merge pull request #281 from majna/2.0-schema-dump
- Added missing 'write' param for schema dump shell. Fixes #2179.
- Fixes #2175
- Removing Xml prolog from default xml layouts.
- Fixing use of options['exclude'] in Debugger::trace(), tests added.
- Merge pull request #279 from Danielpk/fix_doc_view
- Fixed: _passedArgs now is _passedVars
- Fixed typo
- Fix issue with 0.Model.field inputs.
- Use String::tokenize() to split up fields.
- Inheritance fix for CakeTestCase
- Prevent unneeded afterFind callback triggering on associated models. Fixes #2057
- Fixed code formatting
- Missing ini_set of include path for test.php
- Fix incorrect field detection for habtm fields.
- Fix issue where named parameters would not be urldecoded.
- Update doc block concerning plugins.
- Update link on home page.
- Add Opera Mobi to mobile detectors.
- Fix inflection for words ending in media.
- Fix missing prefix when reading table schema.
- Merge pull request #274 from majna/2.0-theme-doc
- Fixing incorrect theme view doc block.
- Add documentation and test for FormHelper::select()
- Merge pull request #270 from majna/2.0-exception-doc
- Fixing incorrect doc blocks regarding error handler.
- Move registration of CakePlugin.
- Fix issues with stateless authentication.
- Camelize type of test being generated.
- Fix options in OptionParser for TestTask
- Revert "Fix RedirectRoute by stopping execution."
- Fix issue with missing base on redirect route.
- Fix RedirectRoute by stopping execution.
- Fix broken tests.
- Remove controller reuse between testAction() calls.
- Fixed EmailComponent test
- Remove comments, and fix debug transport for email.
- Fixed sending BCC with DATA for CakeEmail, as well as 7->8bit conversion tests passing
- Merge pull request #1 from suzuki/2.0
- Fix issue with postgres and virtualFields
- Make App::_loadVendor() static.
- Fixing execute() $this->_result was not instance of PDOStatement after queries other then SELECT, lastAffected() now returns correct integer
- Fixing incorrect translation usage.
- Fix strict warnings on Validation class.
- Removing the remaining cake domain translations.
- Removing the rest of the 'cake' domain.
- Update CommandListShell to give better help.
- Revert "Fixed failing smtp tests when testing on host other then hardcoded 'localhost'."
- Merge pull request #264 from majna/2.0-smtp-test
- Fixed failing smtp tests when testing on host other then hardcoded 'localhost'.
- Fixing failing test introduced in fb4a003522c2dd9b05305fc3d39316b7fc53f1cb.
- Fixed issue when using multiple extensions in Router::parseExtensions() could result in undefined index notice by RequestHandlerComponent.
- fixed: change test property CakeEmail::charset to CakeEmail::headerCharset
- Merge pull request #257 from rchavik/etc
- fixing typos
- Fix issue writing to file cache
- Making apc feature test rely on apc_dec.
- Merge pull request #256 from majna/2.0-extract-test
- Fixing failing i18n ExtractTask tests on Windows.
- Cleaning up code left over from 1.3. If no black-hole callback is specified Security::blackHole() now throws an exception. Closes #1532
- Fix missing preg_quote around highlight searches.
- Merge pull request #254 from jpirkey/jpirkey-20111018-fix-controller-phpdoc
- Fixing a phpdoc-type for Controller->Components property
- Applying fix from 'euromark' to fix protocol relative links
- Update the PHPUnit install instructions.
- Fix error created in merge with 1.3
- Fix recursive errors caused by unwritable cache directories.
- Refactoring PhpReader::read() to check for .php file first. Fixed error when there's a directory with the same name.
- Fixed typo from last commit.
- Fix failing test.
- Fixing failing test.
- Fixing @package at in Cake/Console/Templates/skel files.
- Fixing @package at in Cake/Console/Templates files.
- Fixing @package tag in Cake/View files.
- Fixing more @link annotations
- Fixing all @link annotations in model class
- Fixing file_get_contents() call on the last commit.
- Fixing more links in doc blocks
- Fix issues with bash quoting and directories with spaces.
- Fix method signatures of database drivers.
- Removing 'cake' domain from core.
- Fix association lazy-loading when used with ContainableBehavior
- Fixing incorrect theme paths for plugins, tests updated. Fixes #2099
- Fix content-type detection to accomodate jQuery.
- Fix issue where plugin prefixes would be included in generated view.
- Fixing bug when trying to Paginate ordering by multiple keys.
- Set umask when creating cache file
- Make fixtures disable source caching.
- Adding Opera mobi to mobile browser list.
- Adding another import for helpers appended by RequestHandlerComponent.
- Fix issue where incorrect elements would be used.
- Fix TextHelper::autoLinkUrls() from linking iframes
- Merge pull request #238 from majna/2.0-doc-fix
- Fixed doc block comments.
- Merge pull request #237 from majna/2.0-test-docblocks
- Fixing doc blocks in Test suite and some visibility keywords.
- Fix issues with using 0 as an option for a shell command.
- Fixing undefined variable reference.
- Fix inconsistency between app and skel directory.
- Update the .htaccess files to increase
- Add support for NULL values in Set::format().
- Removed unnessecary call to array_merge() in Model::_deleteLinks(). Fixes #2075 .
- Fixing DatabaseSession handler to correctly close the session before the model object is destroyed by php.
- Fixing bug in getEncoding/setEncoding for PostgreSQL.
- Fixing failing tests caused by merge with 1.3
- Updating old usage `Configure::read()` to new `Configure::read('debug')`. Closes #2070
- Updating the doc block for Datasource::delete()
- Fixing another postgres failing test
- Fix another typo.
- Fix typo in doc block.
- Change how floats are formatted in MySQL.
- Removing extra 0 index in request parameters.
- Adding old webkit gradient prefixes.
- Add missing echo in MissingHelperClass error page.
- More fixes in checking dates in tests
- Fixing a couple of problem when testing dates in ModelWriteTest
- Fix Controller::paginate and ordering with virtualFields.
- Set debug=2 when bake is run.
- Removing duplicate inflection.
- Fixing bug where you couldn't set CakeRequest::$base to empty string using config variable `App.base`
- Fix issue where missing command would exit as success.
- Fixing incorrect exit codes on console exceptions.
- Fixing error introduced in my last commit
- Grabbing the first available config defined in connection manager as a default for baking. Fixing a couple of failing test cases
- Fixing issue where DbConfigTask would try to rebuild
- Fixing issue baking controller tests.
- Fixing build failure in Postgres.
- Fixed missing string append operator for baked homepage to include banner.
- Fixing fixtures to make them run with postgresql
- Fixing failing test on postgres build.
- Fix issue where abstract or interface controllers
- Update expectation to account for umask()
- Make DboSource::lastError() fallback to the connection.
- Fixing some @package declarations
- Re-adding DISABLE_DEFAULT_ERROR_HANDLING to Configure.
- Fixing issue with integer columns and NULL values.
- Fixing doc block
- fixing duplicate emails being sent with MailTransport fixes #2022
- fixing email.php.default, from should have email as key
- Merge pull request #220 from bar/1.3-fix-input-error-complete
- Simplifying assertions in FixtureTask test
- Fixing a few failing test cases and attempting to work around php segmentation fault when running the complete test suite
- Adding additional documentation for CrudAuthorize.
- Bringing the SQlserver datasource up to date, fixing a doc block
- Merge pull request #221 from majna/2.0-doc-comments
- Fixed doc block comments.
- Fixes baking of custom views. Was not setting path correctly or
- find with joins option now respects prefix set in database configuration, fixes #1517
- Adding the _x and _y fields to the unlocked fields
- Excluding hidden files from test directory adding.
- Merge pull request #215 from bar/1.3-fix-extract
- Merge pull request #217 from majna/2.0-test-suite
- Fixing failing test for Router. Debugger test fails on windows due to different directory separator.
- Fixing my previous attempt in ef4826e to make Model::_findCount() behave nicely with 'group' option. Refs #1677, #573
- Fixing failing test.
- Adding quoting around SET NAMES.
- Updating CrudAuthorize to work like ActionsAuthorize.
- Improving error view. Closes #2027
- Making locking file caching the default.
- Adding session renewal upon login/logout.
- Fix incorrect documentation.
- Adding block to home page for PHP version.
- Stripping - from default Message-ID header.
- Merge pull request #212 from j15e/1.3
- Fix to defect model virtualfields with mysqli
- Bug fixed. saveAll with validation option "only" or "first" works wll.
- Apply patch from 'Eärendil' to fix FormHelper.
- Redoing fix done in 155968349f47a67c4af764d40927e47daa5fa738
- Revert previous commit. Trying to fix jenkins build.
- Skip . and .. when generating trees.
- Fix Validation::time so it accepts spaces.
- Additional inflection rules provided through Inflector::rules() now take precedence over the core ones as expected. Fixes #2016
- Fixing doc block in core AppController file
- Removing Mime type notice.
Hotspots:
0.2424 - lib/Cake/Console/Command/Task/ExtractTask.php
0.1965 - lib/Cake/Console/Command/SchemaShell.php
0.1957 - lib/Cake/Console/Command/Task/FixtureTask.php
0.1899 - lib/Cake/Network/CakeRequest.php
0.1894 - lib/Cake/Core/App.php
0.1880 - lib/Cake/Test/Case/Network/CakeRequestTest.php
0.1796 - lib/Cake/Controller/Component/AuthComponent.php
0.1756 - lib/Cake/Test/Case/Controller/Component/AuthComponentTest.php
0.1676 - lib/Cake/Console/Command/Task/TestTask.php
0.1673 - lib/Cake/Console/Command/UpgradeShell.php
0.1607 - lib/Cake/View/Helper/FormHelper.php
0.1578 - lib/Cake/Test/Case/View/Helper/FormHelperTest.php
0.1576 - lib/Cake/Console/Command/CommandListShell.php
0.1519 - lib/Cake/Test/Case/Utility/XmlTest.php
0.1515 - lib/Cake/Console/Command/Task/ViewTask.php
0.1413 - lib/Cake/Console/Command/AclShell.php
0.1376 - lib/Cake/Console/Command/Task/DbConfigTask.php
0.1366 - lib/Cake/Console/Command/Task/ControllerTask.php
0.1349 - lib/Cake/View/Helper/TimeHelper.php
0.1325 - lib/Cake/Utility/Xml.php
0.1316 - lib/Cake/Model/Datasource/Database/Sqlite.php
0.1290 - lib/Cake/Test/Case/Console/Command/ShellTest.php
0.1289 - lib/Cake/Console/Command/BakeShell.php
0.1289 - lib/Cake/Console/Command/Task/BakeTask.php
0.1289 - lib/Cake/Console/ShellDispatcher.php
0.1288 - lib/Cake/Console/AppShell.php
0.1288 - lib/Cake/Console/Command/ApiShell.php
0.1288 - lib/Cake/Console/Command/AppShell.php
0.1288 - lib/Cake/Console/Command/ConsoleShell.php
0.1288 - lib/Cake/Console/Command/I18nShell.php
0.1288 - lib/Cake/Console/Command/Task/ModelTask.php
0.1288 - lib/Cake/Console/Command/Task/PluginTask.php
0.1288 - lib/Cake/Console/Command/Task/ProjectTask.php
0.1288 - lib/Cake/Console/Command/Task/TemplateTask.php
0.1288 - lib/Cake/Console/Command/TestsuiteShell.php
0.1288 - lib/Cake/Test/Case/Console/ShellTest.php
0.1276 - lib/Cake/Model/Datasource/Database/Postgres.php
0.1268 - lib/Cake/Model/Datasource/Database/Sqlserver.php
0.1268 - lib/Cake/Model/Datasource/Database/Mysql.php
0.1158 - lib/Cake/View/Helper/HtmlHelper.php
0.1157 - lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php
0.0883 - lib/Cake/Model/CakeSchema.php
0.0873 - lib/Cake/Test/Case/Model/CakeSchemaTest.php
0.0870 - lib/Cake/TestSuite/Fixture/CakeTestModel.php
0.0837 - lib/Cake/Test/Case/Controller/Component/EmailComponentTest.php
0.0669 - lib/Cake/Test/Case/Console/Command/Task/FixtureTaskTest.php
0.0669 - lib/Cake/Test/Case/Console/Command/SchemaShellTest.php
0.0634 - lib/Cake/Test/Case/View/Helper/TimeHelperTest.php
0.0617 - lib/Cake/Error/ExceptionRenderer.php
0.0587 - lib/Cake/Test/Case/View/Helper/SessionHelperTest.php
0.0546 - lib/Cake/Test/Case/Model/Behavior/ContainableBehaviorTest.php
0.0465 - lib/Cake/Test/Case/Routing/Route/CakeRouteTest.php
0.0463 - lib/Cake/Routing/Route/CakeRoute.php
0.0440 - lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php
0.0433 - lib/Cake/Test/Case/Core/ObjectTest.php
0.0422 - lib/Cake/Test/Case/Controller/Component/RequestHandlerComponentTest.php
0.0384 - lib/Cake/Model/Datasource/DboSource.php
0.0383 - lib/Cake/View/Helper/SessionHelper.php
0.0378 - lib/Cake/Test/Case/Model/ModelReadTest.php
0.0369 - lib/Cake/Test/Case/Network/CakeResponseTest.php
0.0367 - lib/Cake/Controller/Component/PaginatorComponent.php
0.0366 - lib/Cake/Controller/Component/RequestHandlerComponent.php
0.0365 - lib/Cake/Test/Case/Controller/Component/PaginatorComponentTest.php
0.0357 - lib/Cake/TestSuite/ControllerTestCase.php
0.0341 - lib/Cake/Test/Case/Model/ModelWriteTest.php
0.0332 - lib/Cake/Test/Case/Utility/FolderTest.php
0.0329 - lib/Cake/Controller/Component/SecurityComponent.php
0.0306 - lib/Cake/TestSuite/Reporter/CakeHtmlReporter.php
0.0259 - lib/Cake/Test/Case/TestSuite/ControllerTestCaseTest.php
0.0256 - lib/Cake/Test/Case/Controller/ControllerTest.php
0.0255 - lib/Cake/Test/Case/Model/Datasource/Database/SqliteTest.php
0.0250 - lib/Cake/Test/Case/Error/ExceptionRendererTest.php
0.0246 - lib/Cake/Network/Email/SmtpTransport.php
0.0241 - lib/Cake/Test/Case/Network/Email/CakeEmailTest.php
0.0238 - lib/Cake/Network/Email/CakeEmail.php
0.0237 - lib/Cake/TestSuite/Coverage/BaseCoverageReport.php
0.0237 - lib/Cake/TestSuite/Coverage/HtmlCoverageReport.php
0.0236 - lib/Cake/Test/test_app/Model/Datasource/Test2OtherSource.php
0.0236 - lib/Cake/Test/test_app/Model/Datasource/Test2Source.php
0.0236 - lib/Cake/Test/test_app/Plugin/TestPlugin/Model/Datasource/test_other_source.php
0.0230 - lib/Cake/Test/Case/Console/TaskCollectionTest.php
0.0230 - lib/Cake/Test/test_app/Plugin/TestPlugin/Console/Command/Task/OtherTaskTask.php
0.0230 - lib/Cake/Test/test_app/Plugin/TestPlugin/Console/Command/Task/other_task.php
0.0221 - lib/Cake/Core/Object.php
0.0213 - lib/Cake/Test/Case/Model/Datasource/Database/PostgresTest.php
0.0206 - lib/Cake/Test/Case/View/ViewTest.php
0.0205 - lib/Cake/View/Helper/JsHelper.php
0.0204 - lib/Cake/Test/test_app/Plugin/TestPlugin/Model/Datasource/TestSource.php
0.0204 - lib/Cake/View/Helper/JsBaseEngineHelper.php
0.0204 - lib/Cake/Test/Case/Controller/ComponentTest.php
0.0204 - lib/Cake/Test/Case/Controller/PagesControllerTest.php
0.0204 - lib/Cake/Test/Case/Controller/ScaffoldTest.php
0.0204 - lib/Cake/Test/Case/Model/Datasource/Database/SqlserverTest.php
0.0204 - lib/Cake/Test/Case/Network/Http/DigestAuthenticationTest.php
0.0182 - lib/Cake/Test/Case/View/HelperTest.php
0.0180 - lib/Cake/View/Helper.php
0.0176 - lib/Cake/Test/Case/TestSuite/HtmlCoverageReportTest.php
0.0165 - lib/Cake/Network/CakeResponse.php
0.0155 - lib/Cake/Test/Case/Core/AppTest.php
0.0150 - lib/Cake/Test/Case/Console/Command/Task/ViewTaskTest.php
0.0129 - lib/Cake/TestSuite/CakeTestRunner.php
0.0098 - lib/Cake/basics.php
0.0094 - lib/Cake/Routing/Router.php
0.0086 - lib/Cake/Test/Case/Network/Email/SmtpTransportTest.php
0.0081 - lib/Cake/Test/test_app/Console/Templates/test/views/admin_edit.ctp
0.0081 - lib/Cake/Test/Case/Routing/RouterTest.php
0.0080 - lib/Cake/Console/Shell.php
0.0080 - lib/Cake/Model/Model.php
0.0078 - lib/Cake/Test/Case/Utility/ObjectCollectionTest.php
0.0076 - lib/Cake/Utility/ObjectCollection.php
0.0076 - lib/Cake/TestSuite/CakeTestCase.php
0.0071 - lib/Cake/Controller/Controller.php
0.0066 - lib/Cake/TestSuite/CakeTestSuite.php
0.0065 - lib/Cake/I18n/I18n.php
0.0064 - lib/Cake/Test/Case/Model/models.php
0.0062 - lib/Cake/TestSuite/Fixture/CakeFixtureManager.php
0.0062 - lib/Cake/Test/Case/Controller/Component/Auth/CrudAuthorizeTest.php
0.0062 - lib/Cake/Test/Case/Controller/Component/DbAclTest.php
0.0061 - lib/Cake/Test/Case/Routing/DispatcherTest.php
0.0061 - lib/Cake/TestSuite/Reporter/CakeBaseReporter.php
0.0061 - lib/Cake/TestSuite/Reporter/CakeTextReporter.php
0.0061 - lib/Cake/Test/Case/Cache/CacheTest.php
0.0061 - lib/Cake/Test/Case/View/Helper/JsHelperTest.php
0.0061 - lib/Cake/Test/Case/View/Helper/PaginatorHelperTest.php
0.0061 - lib/Cake/Test/Case/Core/ConfigureTest.php
0.0061 - lib/Cake/Test/Case/Model/ModelTestBase.php
0.0061 - lib/Cake/Test/Fixture/AssertTagsTestCase.php
0.0061 - lib/Cake/Test/Fixture/FixturizedTestCase.php
0.0061 - lib/Cake/TestSuite/CakeTestSuiteCommand.php
0.0061 - lib/Cake/TestSuite/CakeTestSuiteDispatcher.php
0.0061 - lib/Cake/TestSuite/Coverage/TextCoverageReport.php
0.0061 - lib/Cake/TestSuite/Fixture/CakeTestFixture.php
0.0061 - lib/Cake/Test/Case/Model/DbAclTest.php
0.0045 - lib/Cake/Console/ConsoleOutput.php
0.0045 - lib/Cake/Test/Case/Console/ConsoleOutputTest.php
0.0041 - app/webroot/css/cake.generic.css
0.0036 - lib/Cake/Console/Templates/skel/webroot/css/cake.generic.css
0.0035 - lib/Cake/View/View.php
0.0026 - lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php
0.0025 - lib/Cake/Utility/Debugger.php
0.0018 - lib/Cake/Console/Templates/skel/View/Layouts/xml/default.ctp
0.0018 - lib/Cake/View/Layouts/xml/default.ctp
0.0017 - lib/Cake/Test/Case/Routing/Route/RedirectRouteTest.php
0.0017 - lib/Cake/Test/Case/Utility/DebuggerTest.php
0.0016 - lib/Cake/Routing/Dispatcher.php
0.0016 - lib/Cake/Console/Templates/skel/webroot/test.php
0.0015 - lib/Cake/View/Pages/home.ctp
0.0015 - lib/Cake/Console/Templates/skel/Config/core.php
0.0014 - lib/Cake/Utility/Inflector.php
0.0014 - app/Config/core.php
0.0013 - lib/Cake/View/Errors/error400.ctp
0.0013 - lib/Cake/View/Helper/NumberHelper.php
0.0012 - lib/Cake/Test/Case/Utility/InflectorTest.php
0.0012 - lib/Cake/View/ThemeView.php
0.0010 - lib/Cake/Utility/Validation.php
0.0010 - lib/Cake/Error/ErrorHandler.php
0.0009 - lib/Cake/Error/exceptions.php
0.0009 - lib/Cake/bootstrap.php
0.0009 - lib/Cake/Test/test_app/Controller/TestsAppsController.php
0.0008 - lib/Cake/View/Errors/error500.ctp
0.0008 - lib/Cake/View/Scaffolds/index.ctp
0.0008 - lib/Cake/View/Scaffolds/form.ctp
0.0008 - lib/Cake/View/Scaffolds/view.ctp
0.0008 - lib/Cake/Cache/Engine/FileEngine.php
0.0008 - lib/Cake/Test/test_app/View/TestsApps/index.ctp
0.0008 - lib/Cake/Test/Case/Network/Email/DebugTransportTest.php
0.0008 - lib/Cake/Network/Email/DebugTransport.php
0.0007 - lib/Cake/Controller/Component.php
0.0007 - lib/Cake/Core/CakePlugin.php
0.0007 - lib/Cake/Controller/Scaffold.php
0.0006 - lib/Cake/Model/Behavior/TranslateBehavior.php
0.0006 - lib/Cake/View/Helper/TextHelper.php
0.0006 - lib/Cake/Console/Templates/skel/webroot/index.php
0.0005 - lib/Cake/Test/test_app/View/Posts/test_nocache_tags.ctp
0.0005 - lib/Cake/Test/Case/Console/Command/Task/ProjectTaskTest.php
0.0005 - app/webroot/index.php
0.0005 - lib/Cake/Cache/Cache.php
0.0005 - index.php
0.0005 - lib/Cake/Model/BehaviorCollection.php
0.0005 - lib/Cake/Model/ModelBehavior.php
0.0005 - lib/Cake/Utility/String.php
0.0004 - lib/Cake/Test/Case/Cache/Engine/FileEngineTest.php
0.0004 - lib/Cake/Cache/Engine/ApcEngine.php
0.0004 - lib/Cake/Test/Case/Console/Command/Task/ExtractTaskTest.php
0.0004 - lib/Cake/Test/Case/View/Helper/TextHelperTest.php
0.0004 - cake/tests/cases/libs/view/view.test.php
0.0004 - lib/Cake/Console/Templates/skel/View/Helper/AppHelper.php
0.0004 - lib/Cake/TestSuite/templates/phpunit.php
0.0003 - lib/Cake/View/Layouts/flash.ctp
0.0003 - lib/Cake/Configure/PhpReader.php
0.0003 - lib/Cake/Console/Templates/default/classes/test.ctp
0.0003 - lib/Cake/View/Errors/missing_action.ctp
0.0003 - cake/tests/cases/libs/view/helpers/html.test.php
0.0003 - lib/Cake/Console/Templates/skel/Controller/AppController.php
0.0003 - lib/Cake/Console/Templates/skel/Controller/PagesController.php
0.0003 - lib/Cake/Console/Templates/skel/Model/AppModel.php
0.0003 - lib/Cake/Console/Templates/skel/View/Emails/html/default.ctp
0.0003 - lib/Cake/Console/Templates/skel/View/Emails/text/default.ctp
0.0003 - lib/Cake/Console/Templates/skel/View/Layouts/ajax.ctp
0.0003 - lib/Cake/Console/Templates/default/classes/controller.ctp
0.0003 - lib/Cake/Console/Templates/default/actions/controller_actions.ctp
0.0003 - lib/Cake/Console/Templates/default/classes/fixture.ctp
0.0003 - lib/Cake/Console/Templates/default/classes/model.ctp
0.0003 - lib/Cake/Console/Templates/default/views/form.ctp
0.0003 - lib/Cake/Console/Templates/default/views/index.ctp
0.0003 - lib/Cake/Console/Templates/default/views/view.ctp
0.0003 - lib/Cake/View/Elements/exception_stack_trace.ctp
0.0003 - lib/Cake/View/Elements/sql_dump.ctp
0.0003 - lib/Cake/View/Emails/html/default.ctp
0.0003 - lib/Cake/View/Emails/text/default.ctp
0.0003 - lib/Cake/View/Errors/missing_behavior.ctp
0.0003 - lib/Cake/View/Errors/missing_component.ctp
0.0003 - lib/Cake/View/Errors/missing_connection.ctp
0.0003 - lib/Cake/View/Errors/missing_controller.ctp
0.0003 - lib/Cake/View/Errors/missing_database.ctp
0.0003 - lib/Cake/View/Errors/missing_datasource.ctp
0.0003 - lib/Cake/View/Errors/missing_datasource_config.ctp
0.0003 - lib/Cake/View/Errors/missing_layout.ctp
0.0003 - lib/Cake/View/Errors/missing_helper.ctp
0.0003 - lib/Cake/View/Errors/missing_plugin.ctp
0.0003 - lib/Cake/View/Errors/missing_table.ctp
0.0003 - lib/Cake/View/Errors/missing_view.ctp
0.0003 - lib/Cake/View/Errors/pdo_error.ctp
0.0003 - lib/Cake/View/Errors/private_action.ctp
0.0003 - lib/Cake/View/Errors/scaffold_error.ctp
0.0003 - lib/Cake/View/Layouts/Emails/html/default.ctp
0.0003 - lib/Cake/View/Layouts/Emails/text/default.ctp
0.0003 - lib/Cake/View/Layouts/ajax.ctp
0.0003 - lib/Cake/View/Layouts/default.ctp
0.0003 - lib/Cake/Model/Behavior/TreeBehavior.php
0.0003 - lib/Cake/Controller/Component/CookieComponent.php
0.0003 - lib/Cake/Controller/Component/EmailComponent.php
0.0003 - lib/Cake/Controller/Component/SessionComponent.php
0.0003 - lib/Cake/Controller/PagesController.php
0.0003 - lib/Cake/Core/Configure.php
0.0003 - lib/Cake/Model/Behavior/AclBehavior.php
0.0003 - lib/Cake/Network/Email/MailTransport.php
0.0003 - app/Console/cake
0.0003 - lib/Cake/Console/cake
0.0003 - lib/Cake/View/Helper/PaginatorHelper.php
0.0002 - app/webroot/test.php
0.0002 - lib/Cake/Console/Templates/default/views/home.ctp
0.0002 - lib/Cake/Test/Case/View/ThemeViewTest.php
0.0002 - lib/Cake/Test/test_app/View/Themed/TestTheme/Plugin/TestPlugin/Tests/index.ctp
0.0002 - lib/Cake/Test/test_app/View/Themed/TestTheme/Plugin/TestPlugin/Layouts/plugin_default.ctp
0.0002 - lib/Cake/Test/test_app/View/Themed/TestTheme/Plugins/TestPlugin/Layouts/plugin_default.ctp
0.0002 - lib/Cake/Test/test_app/View/Themed/TestTheme/Plugins/TestPlugin/Tests/index.ctp
0.0002 - lib/Cake/Model/Datasource/Session/DatabaseSession.php
0.0002 - lib/Cake/Test/Case/Model/ModelIntegrationTest.php
0.0002 - lib/Cake/Model/AppModel.php
0.0002 - cake/libs/cache/file.php
0.0002 - cake/libs/controller/components/request_handler.php
0.0001 - cake/libs/view/view.php
0.0001 - cake/tests/test_app/views/elements/test_element.xml
0.0001 - app/Config/acl.ini.php
0.0001 - lib/Cake/Console/Templates/skel/Config/acl.ini.php
0.0001 - lib/Cake/Console/Templates/skel/Config/bootstrap.php
0.0001 - lib/Cake/Network/Http/HttpResponse.php
0.0001 - lib/Cake/View/Helper/AppHelper.php
0.0001 - lib/Cake/Utility/File.php
0.0001 - lib/Cake/Test/Case/AllBehaviorsTest.php
0.0001 - lib/Cake/Test/Case/AllControllerTest.php
0.0001 - lib/Cake/Test/Case/AllTestSuiteTest.php
0.0001 - lib/Cake/Test/Case/AllHelpersTest.php
0.0001 - lib/Cake/Test/Case/AllRoutingTest.php
0.0001 - lib/Cake/Test/Case/Configure/IniReaderTest.php
0.0001 - lib/Cake/Test/Case/AllTestsTest.php
0.0001 - lib/Cake/Test/Case/Controller/Component/Auth/ActionsAuthorizeTest.php
0.0001 - lib/Cake/Test/Case/Console/Command/CommandListShellTest.php
0.0001 - lib/Cake/Test/Case/Console/HelpFormatterTest.php
0.0001 - lib/Cake/Test/Case/Controller/Component/Auth/BasicAuthenticateTest.php
0.0001 - lib/Cake/Test/Case/Controller/Component/Auth/ControllerAuthorizeTest.php
0.0001 - lib/Cake/Test/Case/Controller/Component/Auth/DigestAuthenticateTest.php
0.0001 - lib/Cake/Test/Case/Controller/Component/Auth/FormAuthenticateTest.php
0.0001 - lib/Cake/Test/Case/Controller/Component/IniAclTest.php
0.0001 - lib/Cake/Test/Case/Core/CakePluginTest.php
0.0001 - lib/Cake/Test/Case/Error/ErrorHandlerTest.php
0.0001 - lib/Cake/Test/Case/Model/Behavior/AclBehaviorTest.php
0.0001 - lib/Cake/Test/Case/Model/ConnectionManagerTest.php
0.0001 - lib/Cake/Test/Case/Model/ModelValidationTest.php
0.0001 - lib/Cake/Test/Case/Network/Http/BasicAuthenticationTest.php
0.0001 - lib/Cake/Test/Case/Network/Http/HttpResponseTest.php
0.0001 - lib/Cake/Test/Case/Routing/Route/PluginShortRouteTest.php
0.0001 - lib/Cake/Test/Case/TestSuite/CakeTestFixtureTest.php
0.0001 - lib/Cake/Test/Case/View/Helper/JqueryEngineHelperTest.php
0.0001 - lib/Cake/Test/Case/View/Helper/MootoolsEngineHelperTest.php
0.0001 - lib/Cake/Test/Case/View/Helper/PrototypeEngineHelperTest.php
0.0001 - lib/Cake/Test/Fixture/DataTestFixture.php
0.0001 - lib/Cake/Test/Case/View/MediaViewTest.php
0.0001 - lib/Cake/Test/Fixture/DatatypeFixture.php
0.0001 - lib/Cake/Test/Fixture/PrefixTestFixture.php
0.0001 - lib/Cake/Test/test_app/Console/Command/SampleShell.php
0.0001 - lib/Cake/Test/test_app/Controller/TestsAppsPostsController.php
0.0001 - cake/console/cake.php
0.0001 - cake/console/libs/shell.php
0.0001 - cake/tests/cases/console/libs/shell.test.php
0.0001 - app/webroot/.htaccess
0.0001 - lib/Cake/Console/Templates/skel/webroot/.htaccess
0.0001 - cake/libs/set.php
0.0001 - cake/tests/cases/libs/set.test.php
0.0001 - lib/Cake/Test/Case/Console/Command/Task/TestTaskTest.php
0.0001 - cake/libs/model/model.php
0.0001 - lib/Cake/Model/ConnectionManager.php
0.0001 - cake/libs/model/datasources/dbo/dbo_mysqli.php
0.0001 - lib/Cake/Console/Templates/skel/View/Layouts/flash.ctp
0.0001 - cake/libs/model/datasources/datasource.php
0.0001 - cake/libs/model/datasources/dbo/dbo_mysql.php
0.0001 - cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
0.0001 - lib/Cake/View/Errors/missing_helper_class.ctp
0.0001 - cake/libs/controller/controller.php
0.0001 - cake/tests/cases/libs/controller/controller.test.php
0.0001 - cake/tests/cases/libs/model/model_read.test.php
0.0000 - lib/Cake/Console/ConsoleErrorHandler.php
0.0000 - lib/Cake/Test/Case/Console/ConsoleErrorHandlerTest.php
0.0000 - lib/Cake/Test/Case/Console/Command/Task/DbConfigTaskTest.php
0.0000 - lib/Cake/Test/Fixture/ArosAcoTwoFixture.php
0.0000 - lib/Cake/Test/Fixture/AroTwoFixture.php
0.0000 - lib/Cake/Test/Case/Utility/FileTest.php
0.0000 - lib/Cake/Model/AcoAction.php
0.0000 - lib/Cake/Model/Aco.php
0.0000 - lib/Cake/Model/Permission.php
0.0000 - lib/Cake/TestSuite/CakeTestLoader.php
0.0000 - lib/Cake/Utility/Folder.php
0.0000 - cake/libs/configure.php
0.0000 - app/Config/email.php.default
0.0000 - lib/Cake/Console/Templates/skel/Config/email.php.default
0.0000 - lib/Cake/Controller/Component/Auth/BaseAuthorize.php
0.0000 - cake/console/libs/tasks/view.php
0.0000 - cake/tests/cases/libs/model/model_integration.test.php
0.0000 - cake/libs/controller/components/email.php
0.0000 - cake/tests/cases/libs/controller/components/email.test.php
0.0000 - lib/Cake/Controller/Component/Auth/CrudAuthorize.php
0.0000 - cake/libs/view/helpers/form.php
0.0000 - cake/tests/cases/libs/view/helpers/form.test.php
0.0000 - cake/libs/validation.php
0.0000 - cake/tests/cases/libs/validation.test.php
0.0000 - cake/libs/inflector.php
0.0000 - cake/tests/cases/libs/inflector.test.php
0.0000 - lib/Cake/Controller/AppController.php
出来ました!
git-svnを使えばたぶん既存のsvnの案件でも実行できそうですね
どう生かすかはまた別途考えよ











