Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.70MB] [CPU: ▼44.57ms] Passed 4 tests
Server-side resources used by Easy Popular Posts
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.29 ▼1.17 | 14.77 ▼26.06 |
Dashboard /wp-admin | 2.30 ▼1.00 | 14.10 ▼36.94 |
Posts /wp-admin/edit.php | 2.30 ▼1.05 | 11.19 ▼33.03 |
Add New Post /wp-admin/post-new.php | 2.30 ▼3.58 | 11.60 ▼82.26 |
Media Library /wp-admin/upload.php | 2.30 ▼0.93 | 11.05 ▼22.63 |
Server storage [IO: ▲0.05MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
widget_thisismyurl_easypopularposts_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Popular Posts
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.25 ▼1.08 | 4.29 ▲2.49 | 44.04 ▼2.59 |
Dashboard /wp-admin | 2,206 ▲14 | 5.83 ▲0.88 | 99.37 ▼5.89 | 39.35 ▼3.79 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.05 ▲0.05 | 38.96 ▲3.87 | 35.63 ▼0.25 |
Add New Post /wp-admin/post-new.php | 1,542 ▲13 | 18.27 ▼4.94 | 588.47 ▼89.05 | 59.81 ▲2.00 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.17 ▼0.05 | 115.07 ▲9.09 | 45.39 ▼1.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in thisismyurl_EasyPopularPosts_Widget is deprecated since version 4.3.0! Use __construct() instead.
- Zombie WordPress options were found after uninstall: 7 options
- widget_thisismyurl_easypopularposts_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
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 fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/easy-popular-posts/widgets/thisismyurl_EasyPopularPosts_Widget.php:3
- > PHP Fatal error
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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
easy-popular-posts/easy-popular-posts.php Passed 13 tests
The entry point to "Easy Popular Posts" version 15.01.12 is a PHP file that has certain tags in its header comment area
68 characters long description:
An easy to use WordPress function to add Popular Posts to any theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected617 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 262 | 267 | 432 |
PO File | 2 | 56 | 112 | 154 |
CSS | 1 | 21 | 6 | 31 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 3.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
There were not PNG files found in your plugin