Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.63ms] Passed 4 tests
Server-side resources used by Seriously Simple Stats
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 44.44 ▲3.22 |
Dashboard /wp-admin | 3.36 ▲0.02 | 46.89 ▼18.67 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 50.71 ▲2.91 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 86.24 ▼3.53 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.44 ▼3.24 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Seriously Simple Stats
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲17 | 14.61 ▲0.26 | 1.74 ▼0.67 | 44.64 ▼5.41 |
Dashboard /wp-admin | 2,195 ▲15 | 5.48 ▼0.15 | 83.75 ▼3.66 | 37.25 ▼3.15 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.97 ▼0.05 | 37.99 ▼0.99 | 37.15 ▲1.68 |
Add New Post /wp-admin/post-new.php | 1,527 ▲1 | 23.03 ▼0.14 | 666.66 ▼11.75 | 64.47 ▲7.40 |
Media Library /wp-admin/upload.php | 1,391 ▼12 | 4.18 ▲0.02 | 97.37 ▼8.62 | 42.67 ▲0.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Jaybizzle\\CrawlerDetect\\Fixtures\\AbstractProvider' not found in wp-content/plugins/seriously-simple-stats/vendor/jaybizzle/crawler-detect/src/Fixtures/Exclusions.php:14
- > PHP Fatal error
Uncaught Error: Class 'Jaybizzle\\CrawlerDetect\\Fixtures\\AbstractProvider' not found in wp-content/plugins/seriously-simple-stats/vendor/jaybizzle/crawler-detect/src/Fixtures/Crawlers.php:14
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/seriously-simple-stats/partials/stats-all-episodes-pagination.php:16
- > PHP Fatal error
Uncaught Error: Class 'Jaybizzle\\CrawlerDetect\\Fixtures\\AbstractProvider' not found in wp-content/plugins/seriously-simple-stats/vendor/jaybizzle/crawler-detect/src/Fixtures/Headers.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/seriously-simple-stats/partials/stats-all-episodes.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% 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
Attributes that require attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
seriously-simple-stats/seriously-simple-stats.php 92% from 13 tests
The primary PHP file in "Seriously Simple Stats" version 1.5.2 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected3,904 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 535 | 1,071 | 3,465 |
LESS | 1 | 4 | 0 | 206 |
JSON | 5 | 0 | 0 | 93 |
YAML | 2 | 15 | 0 | 62 |
Markdown | 1 | 21 | 0 | 55 |
JavaScript | 2 | 5 | 0 | 22 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 22.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 125.00 |
Average method complexity | 4.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 1 | 7.14% |
▷ Concrete classes | 13 | 92.86% |
▷ Final classes | 0 | 0.00% |
Methods | 98 | |
▷ Static methods | 22 | 22.45% |
▷ Public methods | 84 | 85.71% |
▷ Protected methods | 1 | 1.02% |
▷ Private methods | 13 | 13.27% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin