Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.65ms] Passed 4 tests
Analyzing server-side resources used by editnpublish.com Easy English Editing
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 45.12 ▲3.85 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.53 ▼11.97 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 50.18 ▲6.26 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 95.14 ▼1.06 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 36.63 ▲2.59 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for editnpublish.com Easy English Editing
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 14.27 ▼0.32 | 1.94 ▲0.35 | 38.88 ▼7.21 |
Dashboard /wp-admin | 2,202 ▲22 | 5.51 ▼0.15 | 89.85 ▲1.33 | 39.69 ▲2.31 |
Posts /wp-admin/edit.php | 2,105 ▲5 | 1.99 ▲0.01 | 39.14 ▼2.96 | 37.38 ▼2.03 |
Add New Post /wp-admin/post-new.php | 6,259 ▲4,719 | 26.04 ▲7.67 | 933.43 ▲323.18 | 61.38 ▼5.69 |
Media Library /wp-admin/upload.php | 1,405 ▲8 | 4.18 ▼0.02 | 96.55 ▼13.93 | 45.44 ▲2.40 |
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 does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/editnpublishcom-easy-english-editing/lib/views.php
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Trying to get property 'guid' of non-object in wp-content/plugins/editnpublishcom-easy-english-editing/lib/views.php on line 45
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/editnpublishcom-easy-english-editing/editnpublish.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_field() in wp-content/plugins/editnpublishcom-easy-english-editing/lib/views.php:105
- > PHP Notice
Undefined variable: post in wp-content/plugins/editnpublishcom-easy-english-editing/lib/views.php on line 45
- > PHP Notice
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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: There are too many tags (18 tag instead of maximum 10)
editnpublishcom-easy-english-editing/editnpublish.php 85% from 13 tests
The main PHP file in "editnpublish.com Easy English Editing" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 164 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("editnpublishcom-easy-english-editing.php" instead of "editnpublish.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin137 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 72 | 20 | 92 |
CSS | 1 | 0 | 0 | 45 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
4 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/arr.png | 1.03KB | 0.25KB | ▼ 75.93% |
images/right-editnlogo.png | 6.41KB | 2.82KB | ▼ 56.01% |
images/tick.png | 2.15KB | 1.19KB | ▼ 44.78% |
images/editnlogo.png | 10.90KB | 4.36KB | ▼ 59.98% |