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.34MB] [CPU: ▼27.78ms] Passed 4 tests
Server-side resources used by WP Simple Thimble
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.03 | 25.98 ▼16.29 |
Dashboard /wp-admin | 3.22 ▼0.12 | 28.91 ▼28.51 |
Posts /wp-admin/edit.php | 3.51 ▲0.11 | 46.53 ▼7.19 |
Add New Post /wp-admin/post-new.php | 4.69 ▼1.24 | 44.54 ▼59.12 |
Media Library /wp-admin/upload.php | 3.23 ▼0.04 | 30.52 ▼5.22 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WP Simple Thimble: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,778 ▲32 | 14.32 ▲0.03 | 1.79 ▲0.22 | 36.90 ▼3.73 |
Dashboard /wp-admin | 2,189 ▲8 | 5.59 ▼0.12 | 89.20 ▼13.24 | 38.70 ▼4.28 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▲0.01 | 39.58 ▲0.30 | 35.89 ▼1.46 |
Add New Post /wp-admin/post-new.php | 1,550 ▲22 | 22.30 ▼0.74 | 648.06 ▼28.96 | 34.56 ▼14.57 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.21 ▼0.04 | 96.96 ▼7.25 | 46.04 ▼2.11 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- 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 everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-simple-thimble/wp-simple-thimble.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: speed, eliminate yslow warnings, data-uri, eliminate gtmetrix warnings, page load
wp-simple-thimble/wp-simple-thimble.php 92% from 13 tests
Analyzing the main PHP file in "WP Simple Thimble" version 0.0.1
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 435 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin309 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 59 | 53 | 296 |
Markdown | 1 | 6 | 0 | 13 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 53.00 |
▷ Minimum class complexity | 53.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 25 | |
▷ Static methods | 14 | 56.00% |
▷ Public methods | 15 | 60.00% |
▷ Protected methods | 10 | 40.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin