Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲1.02MB] [CPU: ▼8.25ms] Passed 4 tests
This is a short check of server-side resources used by Eyeta Biztool
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.71 ▲1.25 | 48.61 ▲6.06 |
Dashboard /wp-admin | 4.42 ▲1.07 | 36.38 ▼27.01 |
Posts /wp-admin/edit.php | 4.37 ▲1.02 | 41.10 ▼5.20 |
Add New Post /wp-admin/post-new.php | 6.68 ▲0.79 | 80.53 ▼6.77 |
Media Library /wp-admin/upload.php | 4.42 ▲1.19 | 39.81 ▲5.98 |
Server storage [IO: ▲2.02MB] [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: 213 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Eyeta Biztool: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲106 | 13.18 ▼1.11 | 1.88 ▲0.20 | 42.95 ▼3.06 |
Dashboard /wp-admin | 2,223 ▲34 | 5.83 ▲0.89 | 106.98 ▼3.51 | 39.28 ▼5.34 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 1.98 ▼0.02 | 39.67 ▲5.40 | 37.34 ▲2.50 |
Add New Post /wp-admin/post-new.php | 1,537 ▲145 | 23.27 ▲4.82 | 685.74 ▲22.32 | 56.14 ▲9.96 |
Media Library /wp-admin/upload.php | 1,411 ▲26 | 4.17 ▲0.00 | 93.61 ▼7.27 | 41.81 ▼2.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 42× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
Use of undefined constant WP_CONTENT_DIR - assumed 'WP_CONTENT_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/eyeta-biztool/includes/wpalchemy/metaboxes/setup.php on line 3
- > PHP Notice
Undefined variable: mb in wp-content/plugins/eyeta-biztool/view/metabox.php on line 18
- > PHP Fatal error
Uncaught Error: Class 'WPAlchemy_MetaBox' not found in wp-content/plugins/eyeta-biztool/includes/wpalchemy/metaboxes/simple-spec.php:3
- > PHP Fatal error
Uncaught Error: Call to a member function get_plugin_path() on null in wp-content/plugins/eyeta-biztool/view/setting/table.php:14
- > PHP Fatal error
Uncaught Error: Class 'eyeta_biztool\\Biztool_Field' not found in wp-content/plugins/eyeta-biztool/core/class/field/file.php:19
- > PHP Fatal error
Uncaught Error: Class 'eyeta_biztool\\Biztool_Field' not found in wp-content/plugins/eyeta-biztool/core/class/field/user.php:19
- > PHP Fatal error
Uncaught Error: Class 'eyeta_biztool\\Biztool_Field' not found in wp-content/plugins/eyeta-biztool/core/class/field/email.php:19
- > PHP Fatal error
Uncaught Error: Class 'eyeta_biztool\\Biztool_Field' not found in wp-content/plugins/eyeta-biztool/core/class/field/number.php:19
- > PHP Fatal error
Uncaught Error: Class 'WPAlchemy_MetaBox' not found in wp-content/plugins/eyeta-biztool/includes/wpalchemy/metaboxes/radio-spec.php:3
- > PHP Fatal error
Uncaught Error: Class 'WPAlchemy_MetaBox' not found in wp-content/plugins/eyeta-biztool/includes/wpalchemy/metaboxes/full-spec.php:3
- > PHP Warning
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Donate link: Please fix this invalid url: ""
eyeta-biztool/eyeta-biztool.php Passed 13 tests
"Eyeta Biztool" version 0.1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
26 characters long description:
easy-to-use custom fields.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin12,724 lines of code in 209 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 69 | 2,111 | 2,736 | 7,074 |
JavaScript | 129 | 748 | 1,198 | 5,153 |
Sass | 5 | 47 | 10 | 311 |
CSS | 4 | 35 | 12 | 137 |
Markdown | 1 | 21 | 0 | 42 |
Ruby | 1 | 8 | 12 | 7 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 29.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 242.00 |
Average method complexity | 3.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 68.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 26 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 295 | |
▷ Static methods | 16 | 5.42% |
▷ Public methods | 288 | 97.63% |
▷ Protected methods | 6 | 2.03% |
▷ Private methods | 1 | 0.34% |
Functions | 56 | |
▷ Named functions | 56 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 18 | |
▷ Global constants | 18 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin