Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.16ms] Passed 4 tests
A check of server-side resources used by Easy Content Adder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 52.11 ▲9.10 |
Dashboard /wp-admin | 3.32 ▲0.02 | 57.04 ▲1.85 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 50.51 ▲1.46 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 91.24 ▼11.62 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 41.43 ▲3.69 |
Easy Content Adder /wp-admin/options-general.php?page=beca-options | 3.29 | 40.81 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Content Adder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲145 | 13.81 ▼0.57 | 9.47 ▲7.75 | 42.69 ▼1.67 |
Dashboard /wp-admin | 2,223 ▲17 | 5.77 ▼0.13 | 100.40 ▼3.96 | 41.86 ▼1.14 |
Posts /wp-admin/edit.php | 2,111 ▲8 | 2.06 ▼0.12 | 36.24 ▼4.39 | 33.19 ▼4.61 |
Add New Post /wp-admin/post-new.php | 1,533 ▼12 | 23.00 ▼0.13 | 630.74 ▼38.06 | 50.32 ▼3.12 |
Media Library /wp-admin/upload.php | 1,411 ▲14 | 4.23 ▲0.04 | 96.82 ▼3.78 | 43.45 ▼0.18 |
Easy Content Adder /wp-admin/options-general.php?page=beca-options | 1,606 | 6.59 | 131.87 | 56.82 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 75% 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 50% 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
Almost there! Just fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Easy_Content_Adder_Public_Display' not found in wp-content/plugins/easy-content-adder/public/partials/easy-content-adder-public-display.php:20
- > PHP Fatal error
Uncaught Error: Class 'Easy_Content_Adder_Admin_Display' not found in wp-content/plugins/easy-content-adder/admin/partials/easy-content-adder-admin-display.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please a description for screenshot #1 in easy-content-adder/assets to your readme.txt
easy-content-adder/easy-content-adder.php Passed 13 tests
The main PHP file in "Easy Content Adder" ver. 1.1.2 adds more information about the plugin and also serves as the entry point for this plugin
70 characters long description:
Easily add content to all of your Pages, Posts, and Custom Post Types.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin539 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 248 | 683 | 488 |
CSS | 2 | 13 | 8 | 45 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
Analyzing 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.25 |
Average class complexity | 6.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 2 | 4.65% |
▷ Public methods | 38 | 88.37% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 11.63% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected