100% beautiful-widget-ck

Code Review | Beautifulck Widget CK

WordPress plugin Beautifulck Widget CK scored 100% from 54 tests.

About plugin

  • Plugin page: beautiful-widget-ck
  • Plugin version: 1.0.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.6.1
  • WordPress version: 5.8.1
  • First release: May 15, 2014
  • Latest release: Sep 15, 2016
  • Number of updates: 20
  • Update frequency: every 42.7 days
  • Top authors: ced1870 (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

40+ active / 2,103 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.11MB] [CPU: ▼139.53ms] Passed 4 tests

Server-side resources used by Beautifulck Widget CK
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.94 ▲0.2237.54 ▲11.95
Dashboard /wp-admin3.16 ▲0.1153.17 ▲5.43
Posts /wp-admin/edit.php3.25 ▲0.1455.62 ▲5.89
Add New Post /wp-admin/post-new.php5.52 ▲0.0993.77 ▼568.68
Media Library /wp-admin/upload.php3.11 ▲0.1143.85 ▼0.75

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 131 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for Beautifulck Widget CK
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10715.81 ▲0.2110.44 ▲1.1653.38 ▼0.14
Dashboard /wp-admin2,970 ▲395.92 ▼0.06148.21 ▼22.51120.70 ▲2.41
Posts /wp-admin/edit.php2,739 ▼02.72 ▲0.0074.80 ▼1.2094.10 ▲3.44
Add New Post /wp-admin/post-new.php1,683 ▼2,01315.78 ▼5.57434.71 ▼76.95123.25 ▼1.91
Media Library /wp-admin/upload.php1,807 ▼05.01 ▼0.01178.35 ▲12.11145.21 ▲13.24

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

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


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: widget, design

beautiful-widget-ck/beautiful-widget-ck.php Passed 13 tests

"Beautifulck Widget CK" version 1.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
72 characters long description:
Beautifulck Widget CK enhance your widgets with a nice design with ease.

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 plugin1,517 lines of code in 17 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.48
Average class complexity55.00
▷ Minimum class complexity15.00
▷ Maximum class complexity77.00
Average method complexity5.38
▷ Minimum method complexity1.00
▷ Maximum method complexity37.00
Code structure
▷ Abstract classes133.33%
▷ Concrete classes266.67%
▷ Final classes00.00%
▷ Static methods1232.43%
▷ Public methods3081.08%
▷ Protected methods12.70%
▷ Private methods616.22%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
97 compressed PNG files occupy 0.16MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings