Benchmarks
Plugin footprint 83% from 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 gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.33ms] Passed 4 tests
An overview of server-side resources used by ClipArt
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.17 ▼1.80 |
Dashboard /wp-admin | 3.32 ▲0.02 | 51.20 ▼6.95 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 53.11 ▲0.53 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 91.64 ▼1.73 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.84 ▼2.83 |
ClipArt Tags /wp-admin/edit-tags.php?taxonomy=clipart_tags&post_type=attachment | 3.23 | 34.98 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for ClipArt
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.18 ▼1.38 | 1.96 ▲0.11 | 48.85 ▲1.94 |
Dashboard /wp-admin | 2,213 ▲22 | 5.85 ▼0.03 | 117.61 ▼2.89 | 48.31 ▲1.03 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.06 ▲0.02 | 39.09 ▼6.74 | 38.35 ▼0.42 |
Add New Post /wp-admin/post-new.php | 1,544 ▲30 | 18.70 ▲0.83 | 619.62 ▼142.58 | 50.11 ▼16.75 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.22 ▲0.10 | 95.47 ▼26.87 | 41.34 ▼10.14 |
ClipArt Tags /wp-admin/edit-tags.php?taxonomy=clipart_tags&post_type=attachment | 1,238 | 2.13 | 28.98 | 27.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: cliparts, clip arts, picture, open clipart, clip art...
clipart/clipart.php 92% from 13 tests
The principal PHP file in "ClipArt" v. 0.2 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 258 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin1,045 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 85 | 93 | 718 |
CSS | 2 | 6 | 2 | 145 |
PO File | 1 | 23 | 23 | 99 |
JavaScript | 2 | 14 | 2 | 83 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 32.00 |
▷ Minimum class complexity | 32.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 5.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 14.29% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/clipart-logo.png | 5.22KB | 3.93KB | ▼ 24.68% |
js/clipart-tinymce-button.png | 6.54KB | 0.79KB | ▼ 87.88% |
images/checkthis.png | 1.89KB | 0.93KB | ▼ 50.83% |