Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼8.67ms] Passed 4 tests
Server-side resources used by Groovy Fitness Shortcodes
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.21 ▼12.36 |
Dashboard /wp-admin | 3.35 ▲0.05 | 43.79 ▼4.82 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 48.40 ▲2.19 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 78.93 ▼19.43 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.89 ▲1.95 |
Groovy Fitness Shortcodes /wp-admin/options-general.php?page=groovy-fitness-shortcodes | 3.24 | 35.09 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
fitbitrefreshtoken |
fitbitaccesstoken |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Groovy Fitness Shortcodes
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.34 ▼0.02 | 1.58 ▼0.20 | 37.09 ▼6.43 |
Dashboard /wp-admin | 2,199 ▲19 | 5.67 ▲0.01 | 97.08 ▲7.76 | 42.07 ▲2.50 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.99 ▼0.01 | 40.64 ▲6.77 | 37.46 ▼1.00 |
Add New Post /wp-admin/post-new.php | 1,529 ▼10 | 23.47 ▲0.26 | 651.76 ▲5.99 | 49.82 ▼14.06 |
Media Library /wp-admin/upload.php | 1,398 ▲4 | 4.22 ▲0.01 | 97.51 ▲1.68 | 40.10 ▼1.97 |
Groovy Fitness Shortcodes /wp-admin/options-general.php?page=groovy-fitness-shortcodes | 948 | 1.96 | 24.19 | 30.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-posts
- fitbitrefreshtoken
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- fitbitaccesstoken
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/groovy-fitness-shortcodes/admin-menu.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/groovy-fitness-shortcodes/admin-menu.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Contributors: The plugin contributors field is missing
groovy-fitness-shortcodes/groovy-fitness-shortcodes.php Passed 13 tests
The main file in "Groovy Fitness Shortcodes" v. 2.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
55 characters long description:
A plugin to put your Fitbit data into handy shortcodes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected207 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 169 | 23 | 207 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 11 | |
▷ Named functions | 11 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin