Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/easy/2046-easy.php+38
Methods with the same name as their class will not be constructors in a future version of PHP; Easy_2046_builder has a deprecated constructor
Server metrics [RAM: ▼1.68MB] [CPU: ▼60.16ms] Passed 4 tests
An overview of server-side resources used by Easy
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.31 ▼1.16 | 5.73 ▼42.74 |
Dashboard /wp-admin | 2.33 ▼0.98 | 8.80 ▼44.91 |
Posts /wp-admin/edit.php | 2.33 ▼1.03 | 6.78 ▼42.96 |
Add New Post /wp-admin/post-new.php | 2.33 ▼3.56 | 6.98 ▼110.01 |
Media Library /wp-admin/upload.php | 2.33 ▼0.90 | 6.53 ▼34.93 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_builder_2046_main_loop-widget |
theysaidso_admin_options |
easy_2046_ |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.26 ▼0.20 | 1.73 ▼0.04 | 44.47 ▲0.27 |
Dashboard /wp-admin | 2,195 ▲18 | 5.55 ▼0.02 | 89.09 ▲1.43 | 37.87 ▼4.99 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.12 | 32.71 ▼5.98 | 35.21 ▼0.80 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 23.26 ▼0.46 | 670.62 ▼2.46 | 54.34 ▲3.66 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.30 ▲0.13 | 95.23 ▼9.67 | 42.54 ▼5.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/easy/2046-easy.php+38
Methods with the same name as their class will not be constructors in a future version of PHP; Easy_2046_builder has a deprecated constructor
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_builder_2046_main_loop-widget
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- 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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/easy/includes/EasyItems.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/easy/includes/EasyItems.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
- Screenshots: Please add an image for screenshot #1 (Screenshot of the version 0.5)
easy/2046-easy.php 92% from 13 tests
The principal PHP file in "Easy" v. 0.9.9.3 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("easy.php" instead of "2046-easy.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin5,233 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 272 | 729 | 3,277 |
PO File | 4 | 806 | 958 | 1,748 |
JavaScript | 1 | 26 | 98 | 125 |
CSS | 1 | 6 | 4 | 83 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 83.50 |
▷ Minimum class complexity | 35.00 |
▷ Maximum class complexity | 132.00 |
Average method complexity | 7.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 8 | 32.00% |
▷ Public methods | 25 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 58 | |
▷ Named functions | 58 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/here.png | 2.11KB | 1.65KB | ▼ 21.57% |