Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▲2.88ms] Passed 4 tests
A check of server-side resources used by Skill Bar WP
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.47 ▼2.05 |
Dashboard /wp-admin | 3.41 ▲0.11 | 57.96 ▲5.70 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 56.00 ▲3.77 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 108.42 ▲10.68 |
Media Library /wp-admin/upload.php | 3.33 ▲0.11 | 41.92 ▲4.10 |
Add New /wp-admin/post-new.php?post_type=skillbar | 3.34 | 45.73 |
All Skill Bar /wp-admin/edit.php?post_type=skillbar | 3.38 | 34.68 |
Server storage [IO: ▲1.32MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Skill Bar WP: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,932 ▲186 | 13.93 ▼0.44 | 5.66 ▲3.86 | 40.11 ▼6.65 |
Dashboard /wp-admin | 2,250 ▲62 | 5.07 ▲0.18 | 112.56 ▲5.32 | 41.30 ▲1.13 |
Posts /wp-admin/edit.php | 2,141 ▲52 | 2.34 ▲0.30 | 39.13 ▲4.38 | 32.66 ▼4.27 |
Add New Post /wp-admin/post-new.php | 1,570 ▲37 | 23.21 ▼0.06 | 680.82 ▲40.46 | 35.17 ▼15.41 |
Media Library /wp-admin/upload.php | 1,435 ▲47 | 4.58 ▲0.34 | 116.54 ▲17.29 | 49.23 ▲3.30 |
Add New /wp-admin/post-new.php?post_type=skillbar | 2,623 | 3.18 | 94.19 | 103.74 |
All Skill Bar /wp-admin/edit.php?post_type=skillbar | 1,099 | 2.38 | 34.20 | 29.37 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/post-new.php?post_type=skillbar
- > Notice in wp-content/plugins/skill-bar-wp/admin/settings.php+19
Undefined index: skill_title_font_size
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/skill-bar-wp/admin/admin-scripts.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/skill-bar-wp/inc/style.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/skill-bar-wp/admin/skill-metabox.php:13
- > 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 Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: progress bar, skill bar, skill bars
skill-bar-wp/index.php 77% from 13 tests
The main file in "Skill Bar WP" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 505 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("skill-bar-wp.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin6,115 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 2 | 0 | 0 | 2,959 |
CSS | 3 | 48 | 20 | 2,531 |
PHP | 10 | 196 | 96 | 484 |
JavaScript | 3 | 30 | 38 | 141 |
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.36 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 4 | |
▷ Static methods | 1 | 25.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 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