Benchmarks
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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.94 ▲0.22 | 37.54 ▲11.95 |
Dashboard /wp-admin | 3.16 ▲0.11 | 53.17 ▲5.43 |
Posts /wp-admin/edit.php | 3.25 ▲0.14 | 55.62 ▲5.89 |
Add New Post /wp-admin/post-new.php | 5.52 ▲0.09 | 93.77 ▼568.68 |
Media Library /wp-admin/upload.php | 3.11 ▲0.11 | 43.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.81 ▲0.21 | 10.44 ▲1.16 | 53.38 ▼0.14 |
Dashboard /wp-admin | 2,970 ▲39 | 5.92 ▼0.06 | 148.21 ▼22.51 | 120.70 ▲2.41 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▲0.00 | 74.80 ▼1.20 | 94.10 ▲3.44 |
Add New Post /wp-admin/post-new.php | 1,683 ▼2,013 | 15.78 ▼5.57 | 434.71 ▼76.95 | 123.25 ▼1.91 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.01 ▼0.01 | 178.35 ▲12.11 | 145.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
Optimizations
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 165 | 368 | 1,020 |
CSS | 9 | 63 | 41 | 449 |
JavaScript | 2 | 4 | 10 | 46 |
HTML | 2 | 0 | 0 | 2 |
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 code | 0.48 |
Average class complexity | 55.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 77.00 |
Average method complexity | 5.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 1 | 33.33% |
▷ Concrete classes | 2 | 66.67% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 12 | 32.43% |
▷ Public methods | 30 | 81.08% |
▷ Protected methods | 1 | 2.70% |
▷ Private methods | 6 | 16.22% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/layers.png | 0.58KB | 0.99KB | 0.00% |
images/offsetx.png | 0.29KB | 0.37KB | 0.00% |
cklibrary/ckfields/ckradio2/ckradio2_fieldset_bg.png | 0.12KB | 0.17KB | 0.00% |
images/width.png | 0.27KB | 0.46KB | 0.00% |
images/style.png | 0.79KB | 0.85KB | 0.00% |