Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.06MB] [CPU: ▼15.85ms] Passed 4 tests
This is a short check of server-side resources used by AH-O₂
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 40.85 ▼2.84 |
Dashboard /wp-admin | 3.26 ▼0.04 | 33.83 ▼18.06 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 39.07 ▼14.21 |
Add New Post /wp-admin/post-new.php | 5.58 ▼0.30 | 76.43 ▼27.13 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 31.48 ▼3.98 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AH-O₂
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,943 ▲182 | 13.51 ▼0.73 | 8.42 ▲6.64 | 39.77 ▼2.51 |
Dashboard /wp-admin | 2,266 ▲92 | 4.79 ▼0.83 | 100.56 ▲12.56 | 43.11 ▼1.11 |
Posts /wp-admin/edit.php | 2,136 ▲33 | 2.32 ▲0.33 | 41.84 ▲0.15 | 35.78 ▼0.29 |
Add New Post /wp-admin/post-new.php | 622 ▼909 | 1.96 ▼21.27 | 30.91 ▼654.53 | 6.07 ▼48.52 |
Media Library /wp-admin/upload.php | 1,456 ▲53 | 4.26 ▲0.03 | 139.77 ▲38.77 | 45.58 ▼0.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 fix the following
- 12× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to a member function add_help_tab() on null in wp-content/plugins/ah-o2/docs/plugins.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ah-o2/docs/plugins-tips.php:3
- > PHP Warning
Creating default object from empty value in wp-content/plugins/ah-o2/docs/themes.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ah-o2/docs/global-tips.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ah-o2/docs/edit-post-tips.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ah-o2/docs/user-edit-tips.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ah-o2/docs/user-tips.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ah-o2/docs/users-tips.php:3
- > PHP Notice
Undefined variable: current_screen in wp-content/plugins/ah-o2/docs/plugins.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ah-o2/docs/plugin-install-tips.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: admin help, wordpress 40, wordpress help, help
ah-o2/ah-o2.php Passed 13 tests
The principal PHP file in "AH-O₂" v. 0.6.2 is loaded by WordPress automatically on each request
96 characters long description:
Breathing new life into help in the WordPress admin. A feature plugin intended for WordPress 4.0
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin2,069 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 15 | 27 | 89 | 988 |
PHP | 17 | 221 | 662 | 891 |
CSS | 2 | 27 | 4 | 164 |
JSON | 1 | 0 | 0 | 23 |
Markdown | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 48.33 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 119.00 |
Average method complexity | 3.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 9 | 18.37% |
▷ Public methods | 42 | 85.71% |
▷ Protected methods | 2 | 4.08% |
▷ Private methods | 5 | 10.20% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected