Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼309.12ms] Passed 4 tests
An overview of server-side resources used by Hello Claudia
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.15 | 55.64 ▲7.00 |
Dashboard /wp-admin | 3.50 ▲0.09 | 34.81 ▼4.23 |
Posts /wp-admin/edit.php | 3.73 ▲0.09 | 39.17 ▲0.55 |
Add New Post /wp-admin/post-new.php | 6.96 ▼0.00 | 93.44 ▼1,234.99 |
Media Library /wp-admin/upload.php | 3.38 ▲0.09 | 26.63 ▲2.18 |
Server storage [IO: ▲1.56MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 56 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Hello Claudia
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,022 ▲268 | 16.38 ▲0.68 | 8.45 ▲2.40 | 2.66 ▼0.64 |
Dashboard /wp-admin | 3,004 ▲143 | 6.42 ▲0.10 | 120.28 ▼16.35 | 223.46 ▲57.79 |
Posts /wp-admin/edit.php | 2,694 ▲3 | 3.24 ▲0.00 | 62.49 ▼2.23 | 139.88 ▼1.52 |
Add New Post /wp-admin/post-new.php | 1,711 ▼6 | 21.47 ▼0.29 | 435.36 ▲4.64 | 157.10 ▼12.42 |
Media Library /wp-admin/upload.php | 1,695 ▼3 | 5.53 ▲0.03 | 149.44 ▲10.76 | 185.60 ▼6.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please take a closer look at 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 plugin_basename() in wp-content/plugins/hello-claudia/hello-claudia.php:172
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please add an image for screenshot #1 (Windows Azure Japanese official character "Claudia Madobe" is plugin to speak a message on a dashboard.)
hello-claudia/hello-claudia.php Passed 13 tests
Analyzing the main PHP file in "Hello Claudia" version 0.4.2.1
103 characters long description:
Windows Azure Japanese official character "Claudia Madobe" is plugin to speak a message on a dashboard.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin676 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 38 | 70 | 424 |
PO File | 1 | 59 | 58 | 141 |
JavaScript | 2 | 0 | 18 | 111 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 39.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 31.58% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 68.42% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
15 PNG files occupy 0.65MB with 0.47MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/back-claudia-4.png | 64.73KB | 20.22KB | ▼ 68.77% |
images/back-claudia-sd1.png | 29.60KB | 9.24KB | ▼ 68.78% |
images/back-fukidashi-bottom.png | 3.78KB | 0.54KB | ▼ 85.57% |
images/back-claudia-5.png | 53.38KB | 16.30KB | ▼ 69.47% |
images/back-claudia-3.png | 44.43KB | 14.81KB | ▼ 66.67% |