Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.32MB] [CPU: ▼0.75ms] Passed 4 tests
An overview of server-side resources used by Simple Statistics for Feeds
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.34 | 38.89 ▲0.11 |
Dashboard /wp-admin | 3.65 ▲0.30 | 50.82 ▼9.97 |
Posts /wp-admin/edit.php | 3.76 ▲0.40 | 49.64 ▲4.26 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.33 | 94.58 ▲2.62 |
Media Library /wp-admin/upload.php | 3.57 ▲0.33 | 40.35 ▲5.13 |
Feed Statistics /wp-admin/options-general.php?page=sfs-options | 3.56 | 41.59 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_simple_feed_stats |
New WordPress options |
---|
widget_recent-posts |
sfs_alert |
sfs_version |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Statistics for Feeds
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,883 ▲122 | 14.10 ▼0.26 | 1.57 ▲0.06 | 40.17 ▼4.53 |
Dashboard /wp-admin | 2,286 ▲106 | 5.60 ▼0.04 | 88.39 ▼2.48 | 43.51 ▲5.65 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▼0.00 | 35.34 ▼0.90 | 34.21 ▼6.34 |
Add New Post /wp-admin/post-new.php | 1,531 ▼0 | 23.00 ▼0.09 | 624.89 ▼26.60 | 62.70 ▲13.45 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.23 ▲0.06 | 106.56 ▼0.43 | 45.23 ▲1.21 |
Feed Statistics /wp-admin/options-general.php?page=sfs-options | 1,774 | 1.77 | 27.75 | 68.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/simple-feed-stats/sfs-shortcodes.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-feed-stats/sfs-admin.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
simple-feed-stats/simple-feed-stats.php 92% from 13 tests
The main PHP script in "Simple Statistics for Feeds" version 20231026... is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Version: The version number should only use digits and periods (ex. "1.0.3" instead of "20231026...")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin1,733 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 833 | 121 | 1,733 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 6 | |
▷ Static methods | 6 | 100.00% |
▷ Public methods | 1 | 16.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 83.33% |
Functions | 57 | |
▷ Named functions | 57 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
No PNG images were found in this plugin