Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.41ms] Passed 4 tests
An overview of server-side resources used by Simple MinMax
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.19 ▼4.29 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.33 ▲2.07 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.47 ▼0.84 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.81 ▼10.59 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.24 ▲2.14 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Simple MinMax: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.61 ▼0.82 | 4.42 ▲2.49 | 39.44 ▼1.58 |
Dashboard /wp-admin | 2,206 ▲18 | 5.90 ▲0.05 | 109.44 ▼0.85 | 41.77 ▲2.76 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.96 ▼0.06 | 33.81 ▼7.64 | 33.50 ▼2.42 |
Add New Post /wp-admin/post-new.php | 1,514 ▼31 | 17.48 ▼1.09 | 744.35 ▲139.18 | 56.45 ▲2.43 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.19 ▼0.03 | 95.13 ▼2.41 | 41.52 ▲0.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files
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 Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: hide category, per category maximum, per category minimum, product limit, minimum...
simple-minmax/simpleminmax-plugin.php 85% from 13 tests
"Simple MinMax" version 3.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 158 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("simple-minmax.php" instead of "simpleminmax-plugin.php")
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 detected419 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 104 | 76 | 419 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 34.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 4.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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 images were found in this plugin