74% bluelevel-3d-cssprogress-bar

Code Review | BlueLevel 3D CSSProgress

WordPress plugin BlueLevel 3D CSSProgress scored74%from 54 tests.

About plugin

  • Plugin page: bluelevel-3d-cssp...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.5
  • WordPress version: 6.3.1
  • First release: Apr 20, 2016
  • Latest release: May 13, 2016
  • Number of updates: 10
  • Update frequency: every 2.3 days
  • Top authors: bluelevel (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /658 total downloads

Benchmarks

Plugin footprint 65% 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: ▼1.74MB] [CPU: ▼55.89ms] Passed 4 tests

Server-side resources used by BlueLevel 3D CSSProgress
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.28 ▼1.238.72 ▼34.38
Dashboard /wp-admin2.33 ▼1.0610.06 ▼54.49
Posts /wp-admin/edit.php2.33 ▼1.0710.65 ▼44.94
Add New Post /wp-admin/post-new.php2.32 ▼3.6111.29 ▼89.74
Media Library /wp-admin/upload.php2.33 ▼0.9510.96 ▼30.26

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for BlueLevel 3D CSSProgress
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,874 ▲8813.43 ▼1.138.43 ▲6.4043.87 ▲0.82
Dashboard /wp-admin2,197 ▲175.63 ▼0.0291.28 ▼1.1340.33 ▼0.78
Posts /wp-admin/edit.php2,102 ▼11.97 ▲0.0234.97 ▼3.3134.34 ▼0.34
Add New Post /wp-admin/post-new.php1,538 ▲1218.20 ▼4.83637.56 ▼35.6871.55 ▲21.89
Media Library /wp-admin/upload.php1,399 ▲24.20 ▲0.09103.56 ▼8.4844.67 ▲2.01

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • This plugin did not uninstall without warnings or errors
    • > User notice in wp-includes/functions.php+5905
    Function wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the BL_CSSP handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • 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
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
Please fix the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bluelevel-3d-cssprogress-bar/index.php:19

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
10 plugin tags: progress, light, plugins, css, progress bar...

bluelevel-3d-cssprogress-bar/index.php 85% from 13 tests

The principal PHP file in "BlueLevel 3D CSSProgress" v. 1.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 150 characters long)
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("bluelevel-3d-cssprogress-bar.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin66 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP1181964
CSS1001
JavaScript1001

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
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%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
tinymce/mce.png1.50KB0.73KB▼ 50.98%