Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲1.69MB] [CPU: ▲15.05ms] Passed 4 tests
This is a short check of server-side resources used by Organic
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.12 ▲1.66 | 60.35 ▲20.15 |
Dashboard /wp-admin | 5.03 ▲1.68 | 62.48 ▼0.42 |
Posts /wp-admin/edit.php | 5.14 ▲1.78 | 70.38 ▲24.19 |
Add New Post /wp-admin/post-new.php | 7.61 ▲1.72 | 104.51 ▲17.15 |
Media Library /wp-admin/upload.php | 4.95 ▲1.72 | 58.45 ▲23.33 |
Organic Settings /wp-admin/options-general.php?page=organic/Organic/AdminSettings.php | 4.98 | 56.62 |
Server storage [IO: ▲3.65MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 1,055 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
organic::settings_last_updated |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Organic
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.37 ▼0.00 | 1.61 ▲0.00 | 38.45 ▼4.75 |
Dashboard /wp-admin | 2,199 ▲19 | 5.62 ▲0.00 | 91.13 ▼8.15 | 41.64 ▼2.21 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▼0.13 | 39.16 ▼0.33 | 35.95 ▲1.83 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.07 ▼0.22 | 666.86 ▼15.09 | 58.09 ▲6.33 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.27 ▲0.05 | 94.43 ▼6.04 | 41.21 ▼4.03 |
Organic Settings /wp-admin/options-general.php?page=organic/Organic/AdminSettings.php | 1,186 | 2.12 | 26.04 | 27.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- organic::settings_last_updated
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/organic/vendor/masterminds/html5/bin/entities.php
- 573× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\OptionsResolver\\Exception\\InvalidArgumentException' not found in wp-content/plugins/organic/vendor/symfony/options-resolver/Exception/InvalidOptionsException.php:21
- > PHP Fatal error
Uncaught Error: Class 'PhpCsFixer\\Finder' not found in wp-content/plugins/organic/vendor/php-http/httplug/.php-cs-fixer.dist.php:3
- > PHP Fatal error
Uncaught Error: Interface 'Jean85\\Exception\\VersionMissingExceptionInterface' not found in wp-content/plugins/organic/vendor/jean85/pretty-package-versions/src/Exception/ProvidedPackageException.php:7
- > PHP Fatal error
Trait 'FluentDOM\\DOM\ode\onDocumentTypeChildNode\\Implementation' not found in wp-content/plugins/organic/vendor/fluentdom/fluentdom/src/FluentDOM/DOM/Node/NonDocumentTypeChildNode/Properties.php on line 14
- > PHP Fatal error
Uncaught Error: Interface 'Facebook\\WebDriver\\WebDriver' not found in wp-content/plugins/organic/vendor/php-webdriver/webdriver/lib/Support/Events/EventFiringWebDriver.php:17
- > PHP Fatal error
Uncaught Error: Interface 'Amp\\Http\\Client\\EventListener' not found in wp-content/plugins/organic/vendor/symfony/http-client/Internal/AmpListener.php:26
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamFactoryInterface' not found in wp-content/plugins/organic/vendor/http-interop/http-factory-guzzle/src/StreamFactory.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\UploadedFileFactoryInterface' not found in wp-content/plugins/organic/vendor/http-interop/http-factory-guzzle/src/UploadedFileFactory.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Http\\Discovery\\Strategy\\DiscoveryStrategy' not found in wp-content/plugins/organic/vendor/php-http/discovery/src/Strategy/CommonClassesStrategy.php:51
- > PHP Fatal error
Uncaught Error: Interface 'FluentDOM\\Appendable' not found in wp-content/plugins/organic/vendor/fluentdom/fluentdom/src/FluentDOM/Creator/Node.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
1 plugin tags: ads affiliate organic platform publishing
organic/organic.php Passed 13 tests
This is the main PHP file of "Organic" version 1.15.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
37 characters long description:
Ads, Analytics & Affiliate Management
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin70,651 lines of code in 1,005 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 986 | 13,837 | 33,435 | 67,245 |
JSON | 7 | 0 | 0 | 3,187 |
JavaScript | 3 | 3 | 63 | 155 |
XML | 3 | 0 | 0 | 39 |
YAML | 3 | 8 | 3 | 22 |
CSS | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 9.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 181.00 |
Average method complexity | 2.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 64.00 |
Code structure | ||
---|---|---|
Namespaces | 163 | |
Interfaces | 135 | |
Traits | 38 | |
Classes | 774 | |
▷ Abstract classes | 38 | 4.91% |
▷ Concrete classes | 736 | 95.09% |
▷ Final classes | 223 | 30.30% |
Methods | 4,792 | |
▷ Static methods | 552 | 11.52% |
▷ Public methods | 4,059 | 84.70% |
▷ Protected methods | 219 | 4.57% |
▷ Private methods | 514 | 10.73% |
Functions | 544 | |
▷ Named functions | 170 | 31.25% |
▷ Anonymous functions | 374 | 68.75% |
Constants | 728 | |
▷ Global constants | 39 | 5.36% |
▷ Class constants | 689 | 94.64% |
▷ Public constants | 612 | 88.82% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin