83% skillbars

Code Review | Skill Bar

WordPress plugin Skill Bar scored83%from 54 tests.

About plugin

  • Plugin page: skillbars
  • Plugin version: 1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7-5.2
  • WordPress version: 6.3.1
  • First release: Jul 26, 2015
  • Latest release: May 20, 2019
  • Number of updates: 19
  • Update frequency: every 74.3 days
  • Top authors: themepoints (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

600+ active /15,631 total downloads

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
Installer ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼7.18ms] Passed 4 tests

Analyzing server-side resources used by Skill Bar
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0134.49 ▼1.08
Dashboard /wp-admin3.31 ▼0.0443.67 ▼18.04
Posts /wp-admin/edit.php3.36 ▲0.0043.01 ▼0.30
Add New Post /wp-admin/post-new.php5.89 ▲0.0080.33 ▼9.28
Media Library /wp-admin/upload.php3.23 ▲0.0036.61 ▲2.97

Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Skill Bar
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,918 ▲17213.62 ▼0.908.14 ▲6.5439.28 ▼3.09
Dashboard /wp-admin2,211 ▲345.79 ▲0.1689.04 ▲5.2438.25 ▼5.69
Posts /wp-admin/edit.php2,115 ▲122.29 ▲0.3434.28 ▼3.8831.85 ▼2.65
Add New Post /wp-admin/post-new.php1,534 ▲623.47 ▲0.44649.85 ▼14.8554.86 ▲0.89
Media Library /wp-admin/upload.php1,416 ▲164.41 ▲0.2195.70 ▼1.1742.11 ▼4.11

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

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
The following issues need your attention
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/skillbars/skillbar-shortcodes.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 90% from 29 tests

readme.txt Passed 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
5 plugin tags: wordpress progress bar, multi color progress bar, skillbar, progress bar, animated skill bar

skillbars/skillbar-shortcodes.php 77% from 13 tests

The principal PHP file in "Skill Bar" v. 1.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("skillbars.php" instead of "skillbar-shortcodes.php")
  • Domain Path: The domain path folder does not exist ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected127 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
CSS10085
PHP1121432
JavaScript11010

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.17
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.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
PNG images were not found in this plugin