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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.31MB] [CPU: ▼19.15ms] Passed 4 tests
A check of server-side resources used by Thumbar Rating Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▼0.02 | 30.27 ▼7.90 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.37 ▼3.51 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 42.13 ▼7.78 |
Add New Post /wp-admin/post-new.php | 4.61 ▼1.27 | 41.17 ▼57.39 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.87 ▼2.46 |
Thumbar /wp-admin/options-general.php?page=tb_options | 3.19 | 31.78 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Thumbar Rating Plugin: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,944 ▲198 | 13.65 ▼0.72 | 5.64 ▲4.00 | 40.58 ▼0.41 |
Dashboard /wp-admin | 2,210 ▲25 | 5.82 ▼0.02 | 96.55 ▼5.94 | 39.20 ▼5.04 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.02 ▼0.02 | 33.35 ▼1.97 | 35.30 ▲0.64 |
Add New Post /wp-admin/post-new.php | 1,536 ▲16 | 23.03 ▼0.13 | 656.93 ▼6.35 | 57.56 ▼5.39 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.23 ▼0.00 | 108.43 ▲10.11 | 45.76 ▲3.90 |
Thumbar /wp-admin/options-general.php?page=tb_options | 807 | 2.06 | 28.03 | 27.48 |
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
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=tb_options
- > Notice in wp-content/plugins/thumbar/thumbar-wp.php+45
Trying to access array offset on value of type bool
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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/thumbar/thumbar-wp.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 133 tag instead of maximum 10
thumbar/thumbar-wp.php 85% from 13 tests
The main file in "Thumbar Rating Plugin" v. 3.000 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 172 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("thumbar.php" instead of "thumbar-wp.php")
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 detected68 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 14 | 68 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 0 | |
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 | 7 | |
▷ Named functions | 7 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin