Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼1.69ms] Passed 4 tests
Server-side resources used by WP Themes & Plugins Stats
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 39.19 ▼3.74 |
Dashboard /wp-admin | 3.49 ▲0.15 | 54.34 ▼8.55 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 49.07 ▲6.21 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 84.57 ▲1.55 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 36.86 ▲3.98 |
WP Themes & Plugins Stats /wp-admin/options-general.php?page=bsf-as-setting-admin | 3.43 | 31.51 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for WP Themes & Plugins Stats
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.34 ▼1.33 | 1.57 ▼0.43 | 41.73 ▼1.01 |
Dashboard /wp-admin | 2,210 ▲25 | 4.84 ▼0.98 | 96.27 ▼8.08 | 37.03 ▼1.07 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.04 ▼0.14 | 39.12 ▼0.18 | 35.41 ▼0.66 |
Add New Post /wp-admin/post-new.php | 1,545 ▲25 | 18.84 ▼4.37 | 606.58 ▼14.12 | 53.72 ▲8.71 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.20 ▼0.06 | 99.12 ▲0.03 | 39.57 ▼4.25 |
WP Themes & Plugins Stats /wp-admin/options-general.php?page=bsf-as-setting-admin | 999 | 2.04 | 23.23 | 29.50 |
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
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP test
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 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: total download active install count of plugin and theme by author, plugin-stats, active-install, themes-stats, stats
wp-themes-plugins-stats/wp-themes-plugins-stats.php 85% from 13 tests
The main PHP file in "WP Themes & Plugins Stats" ver. 1.1.2 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 182 characters long)
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected1,401 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 249 | 443 | 1,321 |
CSS | 1 | 0 | 0 | 77 |
JavaScript | 1 | 1 | 1 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 44.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 4.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 5 | 9.09% |
▷ Public methods | 52 | 94.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 5.45% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin