Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.06MB] [CPU: ▲5.23ms] Passed 4 tests
This is a short check of server-side resources used by eyezon
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.53 ▲1.06 | 45.77 ▲3.78 |
Dashboard /wp-admin | 4.38 ▲1.03 | 53.35 ▼5.00 |
Posts /wp-admin/edit.php | 4.43 ▲1.07 | 61.10 ▲13.38 |
Add New Post /wp-admin/post-new.php | 6.98 ▲1.09 | 95.24 ▲12.29 |
Media Library /wp-admin/upload.php | 4.30 ▲1.06 | 44.08 ▲9.85 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 63 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
eyezon-version |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by eyezon
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲120 | 13.36 ▼1.39 | 2.58 ▲0.88 | 42.00 ▼5.69 |
Dashboard /wp-admin | 2,211 ▲20 | 5.97 ▲1.05 | 111.30 ▲0.59 | 82.86 ▲38.45 |
Posts /wp-admin/edit.php | 2,112 ▲20 | 2.05 ▲0.06 | 39.77 ▼2.36 | 34.37 ▼4.02 |
Add New Post /wp-admin/post-new.php | 1,550 ▲31 | 23.19 ▲0.39 | 774.41 ▲155.17 | 59.64 ▲15.06 |
Media Library /wp-admin/upload.php | 1,405 ▲23 | 4.26 ▲0.08 | 104.53 ▲4.54 | 69.71 ▲27.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- eyezon-version
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/eyezon/eyezon.php
- > /wp-content/plugins/eyezon/vendor/micropackage/requirements/tests/bootstrap.php
- 266× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'eyezon\\Engine\\Base' not found in wp-content/plugins/eyezon/integrations/CMB.php:20
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Picker_Base' not found in wp-content/plugins/eyezon/vendor/cmb2/includes/types/CMB2_Type_Text_Date.php:13
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/eyezon/vendor/composer/installers/src/Composer/Installers/DframeInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/eyezon/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Localheinz\\Diff\\Output\\AbstractChunkOutputBuilder' not found in wp-content/plugins/eyezon/vendor/localheinz/diff/src/Output/UnifiedDiffOutputBuilder.php:27
- > PHP Fatal error
Uncaught Error: Interface 'Ergebnis\\Json\ormalizer\ormalizerInterface' not found in wp-content/plugins/eyezon/vendor/ergebnis/json-normalizer/src/CallableNormalizer.php:16
- > PHP Fatal error
Uncaught Error: Class 'JsonSchema\\Exception\\RuntimeException' not found in wp-content/plugins/eyezon/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidSchemaException.php:15
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/eyezon/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php:11
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/eyezon/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php:4
- > PHP Fatal error
Uncaught Error: Interface 'Ergebnis\\Json\ormalizer\ormalizerInterface' not found in wp-content/plugins/eyezon/vendor/ergebnis/json-normalizer/src/SchemaNormalizer.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
eyezon/eyezon.php 85% from 13 tests
"eyezon" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 554 characters long)
- Git Repository: There should be no Git repositories present in your plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin113,045 lines of code in 614 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 24 | 31 | 0 | 39,317 |
PO File | 123 | 14,475 | 18,792 | 32,607 |
PHP | 375 | 6,061 | 13,283 | 23,222 |
CSS | 17 | 275 | 1,219 | 5,608 |
SVG | 5 | 0 | 12 | 4,666 |
Markdown | 22 | 1,219 | 0 | 2,993 |
JavaScript | 14 | 497 | 705 | 2,398 |
Sass | 22 | 380 | 29 | 1,750 |
YAML | 5 | 43 | 36 | 214 |
XML | 6 | 21 | 8 | 150 |
Bourne Shell | 1 | 21 | 11 | 120 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 9.24 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 196.00 |
Average method complexity | 3.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 47 | |
Interfaces | 22 | |
Traits | 2 | |
Classes | 331 | |
▷ Abstract classes | 18 | 5.44% |
▷ Concrete classes | 313 | 94.56% |
▷ Final classes | 52 | 16.61% |
Methods | 1,454 | |
▷ Static methods | 210 | 14.44% |
▷ Public methods | 1,174 | 80.74% |
▷ Protected methods | 194 | 13.34% |
▷ Private methods | 86 | 5.91% |
Functions | 99 | |
▷ Named functions | 56 | 56.57% |
▷ Anonymous functions | 43 | 43.43% |
Constants | 91 | |
▷ Global constants | 12 | 13.19% |
▷ Class constants | 79 | 86.81% |
▷ Public constants | 70 | 88.61% |
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
16 PNG files occupy 0.26MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/cmb2/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |
vendor/cmb2/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
assets/images/eye.png | 1.05KB | 0.69KB | ▼ 33.98% |
vendor/cmb2/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
vendor/cmb2/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |