WordPress plugin scored90%from 54 tests.

About plugin

  • Plugin page: buddy-progress-bar
  • Plugin version: 1.0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.2+
  • WordPress version: 6.3.1
  • First release: Dec 20, 2015
  • Latest release: Nov 15, 2016
  • Number of updates: 120
  • Update frequency: every 2.9 days
  • Top authors: danbp (100%)

Code review

54 tests

User reviews

8 reviews

Install metrics

70+ active /6,516 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▲0.50ms] Passed 4 tests

A check of server-side resources used by
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0236.48 ▼3.30
Dashboard /wp-admin3.33 ▲0.0250.65 ▼0.62
Posts /wp-admin/edit.php3.38 ▲0.0249.60 ▲0.45
Add New Post /wp-admin/post-new.php5.91 ▲0.0299.18 ▲9.26
Media Library /wp-admin/upload.php3.25 ▲0.0240.12 ▲5.47

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
db_upgraded
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲5314.74 ▲0.092.08 ▲0.4342.11 ▼2.42
Dashboard /wp-admin2,198 ▲215.63 ▲0.0890.24 ▼4.9041.69 ▼3.29
Posts /wp-admin/edit.php2,100 ▼31.95 ▼0.0634.95 ▼0.1833.95 ▲2.11
Add New Post /wp-admin/post-new.php1,526 ▼223.14 ▼0.00600.23 ▼73.4360.55 ▲1.07
Media Library /wp-admin/upload.php1,394 ▼34.24 ▲0.10105.93 ▼9.3242.89 ▼5.00

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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 SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
  • Tested up to: Invalid plugin version format
You can look at the official readme.txt

buddy-progress-bar/buddy-progress-bar.php Passed 13 tests

The main PHP file in "" ver. 1.0.3 adds more information about the plugin and also serves as the entry point for this plugin
89 characters long description:
Add a progress bar which displays the percentage of profile fields datas filled by users.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin1,512 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
PHP8339351915
PO File18989495
CSS2138102

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity8.00
▷ Minimum class complexity4.00
▷ Maximum class complexity13.00
Average method complexity1.70
▷ Minimum method complexity1.00
▷ Maximum method complexity12.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods40
▷ Static methods12.50%
▷ Public methods3485.00%
▷ Protected methods00.00%
▷ Private methods615.00%
Functions31
▷ Named functions31100.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
2 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
includes/admin/images/progress-bar-profile.png15.39KB13.81KB▼ 10.27%
includes/admin/images/bpb-badge.png13.34KB7.43KB▼ 44.32%