Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.66ms] Passed 4 tests
An overview of server-side resources used by WP Quip
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 48.02 ▲7.57 |
Dashboard /wp-admin | 3.37 ▲0.02 | 46.14 ▼19.66 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 47.53 ▲2.66 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 94.74 ▼3.34 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 33.26 ▲1.70 |
WP Quip /wp-admin/options-general.php?page=cloudposse_wp_quip_settings | 3.26 | 30.63 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
cloudposse_wp_quip_plugin_version |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Quip
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 13.20 ▼1.42 | 2.30 ▼0.22 | 40.25 ▼2.50 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▼0.99 | 107.53 ▼7.57 | 41.59 ▼7.15 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.01 ▲0.00 | 40.16 ▲3.23 | 37.27 ▲0.70 |
Add New Post /wp-admin/post-new.php | 1,545 ▲17 | 18.22 ▼4.92 | 637.21 ▼45.12 | 64.58 ▲9.37 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.21 ▼0.00 | 93.78 ▼3.83 | 41.16 ▼4.87 |
WP Quip /wp-admin/options-general.php?page=cloudposse_wp_quip_settings | 837 | 2.01 | 24.90 | 24.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
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)
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-quip/wp-quip.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Donate link: Invalid URI ("")
wp-quip/wp-quip.php Passed 13 tests
The entry point to "WP Quip" version 1.0.0 is a PHP file that has certain tags in its header comment area
30 characters long description:
Quip integration for WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected314 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 88 | 117 | 286 |
CSS | 1 | 3 | 0 | 28 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
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 | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.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 |
images/CloudPosse_Logo.png | 59.81KB | 31.13KB | ▼ 47.95% |