Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.69MB] [CPU: ▼13.58ms] Passed 4 tests
Analyzing server-side resources used by Filter for Jetpack Site Stats
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.04 ▼4.24 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.36 ▼0.95 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.03 ▲0.71 |
Add New Post /wp-admin/post-new.php | 3.12 ▼2.76 | 36.97 ▼49.85 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.52 ▲1.15 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Filter for Jetpack Site Stats
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲11 | 13.62 ▲0.32 | 1.62 ▼0.11 | 42.99 ▲0.28 |
Dashboard /wp-admin | 2,209 ▲3 | 4.86 ▲0.03 | 98.36 ▼14.74 | 39.97 ▼1.76 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 1.99 ▼0.05 | 35.57 ▲1.24 | 32.31 ▼3.34 |
Add New Post /wp-admin/post-new.php | 1,534 ▼8 | 23.21 ▲0.34 | 653.47 ▼24.32 | 54.18 ▼3.20 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.22 ▼0.01 | 108.18 ▼4.12 | 46.82 ▼2.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function FilterForJetpackSiteStats\\add_action() in wp-content/plugins/filter-for-jetpack-site-stats/filter-for-jetpack-site-stats.php:42
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2 in filter-for-jetpack-site-stats/assets to your readme.txt
filter-for-jetpack-site-stats/filter-for-jetpack-site-stats.php Passed 13 tests
Analyzing the main PHP file in "Filter for Jetpack Site Stats" version 2.0.0
67 characters long description:
Enables admins to filter "Top Posts & Pages" summaries by metadata.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected290 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 75 | 43 | 182 |
PHP | 1 | 26 | 15 | 64 |
CSS | 1 | 11 | 5 | 44 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected