Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/simplicy-top-posts-most-viewed/simplicy-top-posts-most-viewed.php+14
Methods with the same name as their class will not be constructors in a future version of PHP; Widget_simplicy_top_post_viewed has a deprecated constructor
Server metrics [RAM: ▼1.77MB] [CPU: ▼56.07ms] Passed 4 tests
This is a short check of server-side resources used by Simplicy top posts most viewed
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.23 ▼1.23 | 5.97 ▼39.14 |
Dashboard /wp-admin | 2.25 ▼1.10 | 6.03 ▼55.07 |
Posts /wp-admin/edit.php | 2.25 ▼1.11 | 5.92 ▼41.67 |
Add New Post /wp-admin/post-new.php | 2.25 ▼3.64 | 7.69 ▼88.40 |
Media Library /wp-admin/upload.php | 2.25 ▼0.98 | 6.36 ▼27.56 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_widget_simplicy_top_post_viewed |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Simplicy top posts most viewed
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.64 ▼0.65 | 4.20 ▲2.29 | 39.79 ▼3.69 |
Dashboard /wp-admin | 2,211 ▲23 | 4.84 ▼0.19 | 96.04 ▼24.79 | 38.78 ▼9.84 |
Posts /wp-admin/edit.php | 2,091 ▲2 | 2.14 ▲0.10 | 37.15 ▲0.47 | 34.40 ▼1.80 |
Add New Post /wp-admin/post-new.php | 1,516 ▼3 | 17.72 ▼5.66 | 653.76 ▲29.89 | 55.24 ▲1.44 |
Media Library /wp-admin/upload.php | 1,384 ▼4 | 4.22 ▲0.01 | 93.47 ▼0.47 | 42.03 ▼3.51 |
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
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/simplicy-top-posts-most-viewed/simplicy-top-posts-most-viewed.php+14
Methods with the same name as their class will not be constructors in a future version of PHP; Widget_simplicy_top_post_viewed has a deprecated constructor
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_widget_simplicy_top_post_viewed
- widget_recent-posts
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
Good news, no errors were detected
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
The following issues need your attention
- 9× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined variable: instance in wp-content/plugins/simplicy-top-posts-most-viewed/functions/filters.php on line 12
- > PHP Notice
Undefined variable: instance in wp-content/plugins/simplicy-top-posts-most-viewed/functions/filters.php on line 4
- > PHP Notice
Undefined variable: instance in wp-content/plugins/simplicy-top-posts-most-viewed/functions/filters.php on line 36
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_register_style() in wp-content/plugins/simplicy-top-posts-most-viewed/simplicy-top-posts-most-viewed.php:11
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/simplicy-top-posts-most-viewed/functions/filters.php on line 24
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/simplicy-top-posts-most-viewed/functions/filters.php on line 12
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/simplicy-top-posts-most-viewed/functions/filters.php on line 36
- > PHP Notice
Undefined variable: instance in wp-content/plugins/simplicy-top-posts-most-viewed/functions/filters.php on line 24
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/simplicy-top-posts-most-viewed/functions/filters.php on line 4
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Add an image for screenshot #1 (Example of display in the panel administrator of your blog.
)
simplicy-top-posts-most-viewed/simplicy-top-posts-most-viewed.php Passed 13 tests
The primary PHP file in "Simplicy top posts most viewed" version 1.4 is used by WordPress to initiate all plugin functionality
59 characters long description:
Afficher vos article les plus consulter dans votre sidebar.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected485 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 101 | 60 | 467 |
CSS | 1 | 1 | 2 | 18 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 8.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin