83% cc-circle-progress-bar

Code Review | CC Circle Progress Bar

WordPress plugin CC Circle Progress Bar scored83%from 54 tests.

About plugin

  • Plugin page: cc-circle-progres...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.9.1
  • WordPress version: 6.3.1
  • First release: May 20, 2014
  • Latest release: May 21, 2014
  • Number of updates: 11
  • Update frequency: every 0.1 days
  • Top authors: thecrazycoder (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

100+ active /5,308 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.00MB] [CPU: ▼4.90ms] Passed 4 tests

A check of server-side resources used by CC Circle Progress Bar
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.25 ▲1.26
Dashboard /wp-admin3.31 ▼0.0346.92 ▼11.90
Posts /wp-admin/edit.php3.36 ▲0.0143.06 ▼2.20
Add New Post /wp-admin/post-new.php5.89 ▲0.0182.56 ▼4.10
Media Library /wp-admin/upload.php3.24 ▲0.0133.33 ▼1.38

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by CC Circle Progress Bar
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,891 ▲12013.59 ▼1.085.98 ▲4.2839.45 ▼5.89
Dashboard /wp-admin2,207 ▲215.82 ▼0.1299.66 ▼5.6440.75 ▼1.57
Posts /wp-admin/edit.php2,093 ▲42.02 ▼0.0235.03 ▼1.5330.51 ▼2.60
Add New Post /wp-admin/post-new.php1,518 ▲423.09 ▲5.36682.51 ▲14.3251.55 ▼1.45
Media Library /wp-admin/upload.php1,392 ▲74.23 ▲0.0394.06 ▼12.4342.87 ▼4.56

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
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

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
The following issues need your attention
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cc-circle-progress-bar/progressbar.php:13

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
  • Screenshots: Add an image for screenshot #1 (Read `Installation` Carefully)
  • Contributors: Plugin contributors field is missing
You can look at the official readme.txt

cc-circle-progress-bar/progressbar.php 92% from 13 tests

The main PHP script in "CC Circle Progress Bar" version 1.0.0 is automatically included on every request by WordPress
Please take the time to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("cc-circle-progress-bar.php" instead of "progressbar.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin52 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP13834
CSS13017
JavaScript1001

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin