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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼7.26ms] Passed 4 tests
An overview of server-side resources used by Circle Progress Bar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 42.52 ▲5.99 |
Dashboard /wp-admin | 3.39 ▲0.05 | 55.10 ▼7.32 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 51.62 ▼2.04 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 89.03 ▼17.56 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.84 ▼2.13 |
Settings /wp-admin/edit.php?post_type=circle_bar_plugin&page=circle_progress_settings | 3.29 | 34.27 |
Add New /wp-admin/post-new.php?post_type=circle_bar_plugin | 3.35 | 42.25 |
Circle Progress bars /wp-admin/edit.php?post_type=circle_bar_plugin | 3.36 | 36.17 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
circle_bar_plugin_version |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Circle Progress Bar: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,941 ▲180 | 13.83 ▼0.52 | 8.68 ▲6.78 | 43.74 ▼3.83 |
Dashboard /wp-admin | 2,239 ▲65 | 5.72 ▲0.20 | 87.74 ▼1.71 | 38.32 ▼2.12 |
Posts /wp-admin/edit.php | 2,144 ▲41 | 2.03 ▲0.06 | 37.99 ▼5.17 | 35.08 ▼4.48 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 23.25 ▲0.13 | 690.58 ▲17.61 | 60.64 ▲4.55 |
Media Library /wp-admin/upload.php | 1,444 ▲44 | 4.27 ▲0.20 | 97.10 ▼21.17 | 44.78 ▼4.49 |
Settings /wp-admin/edit.php?post_type=circle_bar_plugin&page=circle_progress_settings | 840 | 1.76 | 28.62 | 29.03 |
Add New /wp-admin/post-new.php?post_type=circle_bar_plugin | 1,486 | 2.79 | 58.89 | 47.67 |
Circle Progress bars /wp-admin/edit.php?post_type=circle_bar_plugin | 1,113 | 1.97 | 34.75 | 30.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- widget_theysaidso_widget
- circle_bar_plugin_version
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 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
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/circle-progress-bar/templates/circle-setting.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/circle-progress-bar/circle-progress-bar.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/circle-progress-bar/templates/create-setting-form.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Requires php: Invalid version format
circle-progress-bar/circle-progress-bar.php Passed 13 tests
The entry point to "Circle Progress Bar" version 1.0 is a PHP file that has certain tags in its header comment area
19 characters long description:
Circle Progress Bar
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
Success! There were no dangerous files found in this plugin3,170 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 686 | 905 | 2,708 |
PHP | 6 | 76 | 77 | 328 |
CSS | 4 | 18 | 18 | 134 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 1 | 50.00% |
▷ Concrete classes | 1 | 50.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 4 | 18.18% |
▷ Public methods | 17 | 77.27% |
▷ Protected methods | 4 | 18.18% |
▷ Private methods | 1 | 4.55% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 2 | 25.00% |
▷ Class constants | 6 | 75.00% |
▷ Public constants | 6 | 100.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
PNG images were not found in this plugin