Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼147.71ms] Passed 4 tests
This is a short check of server-side resources used by Hello Wapuu
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 41.40 ▲19.70 |
Dashboard /wp-admin | 3.08 ▲0.03 | 47.74 ▲2.57 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 42.22 ▼5.71 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.00 | 90.33 ▼585.67 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 32.18 ▼2.04 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Hello Wapuu
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,858 ▲262 | 15.95 ▲0.30 | 10.40 ▲1.31 | 29.64 ▼17.31 |
Dashboard /wp-admin | 3,116 ▲182 | 5.94 ▼0.05 | 142.72 ▼13.65 | 178.80 ▲72.38 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▲0.01 | 65.97 ▼2.72 | 89.54 ▼10.47 |
Add New Post /wp-admin/post-new.php | 1,504 ▼111 | 18.53 ▼2.94 | 386.61 ▲98.45 | 109.06 ▲4.91 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.05 ▲0.00 | 154.67 ▲4.37 | 112.05 ▼2.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hello-wapuu/hello-wapuu.php:73
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: admin, plugins, wapuu, event, widgets...
hello-wapuu/hello-wapuu.php Passed 13 tests
This is the main PHP file of "Hello Wapuu" version 0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
104 characters long description:
Ja.wordpress.org official character "わぷー(Wapuu)" will tell you about your activity on a dashboard.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin161 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 33 | 47 | 86 |
CSS | 1 | 0 | 0 | 45 |
SVG | 1 | 0 | 1 | 30 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 58.22KB | 25.42KB | ▼ 56.35% |