Benchmarks
Plugin footprint 83% from 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: ▼6.12ms] Passed 4 tests
A check of server-side resources used by Keywords Cloud
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 38.40 ▼7.68 |
Dashboard /wp-admin | 3.38 ▲0.03 | 49.57 ▼17.63 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 50.84 ▲4.57 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 99.84 ▼2.76 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 43.75 ▲3.58 |
Server storage [IO: ▲0.64MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_keywords-cloud-widget |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Keywords Cloud
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,899 ▲138 | 13.41 ▼0.56 | 9.30 ▲7.53 | 39.26 ▼5.54 |
Dashboard /wp-admin | 2,189 ▲9 | 5.55 ▼0.10 | 97.63 ▼2.56 | 40.67 ▼0.97 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▼0.03 | 37.64 ▲0.05 | 33.40 ▼4.93 |
Add New Post /wp-admin/post-new.php | 1,537 ▲10 | 18.15 ▼5.00 | 659.76 ▼5.55 | 74.14 ▲18.66 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.22 ▼0.04 | 99.44 ▼11.61 | 42.40 ▼4.71 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_keywords-cloud-widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/keywords-cloud/keywords-cloud.php:17
- > 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 errors were detected
Optimizations
Plugin configuration 93% 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
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4 in keywords-cloud/assets to your readme.txt
keywords-cloud/keywords-cloud.php 92% from 13 tests
"Keywords Cloud" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected509 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Markdown | 1 | 80 | 0 | 320 |
PHP | 1 | 36 | 19 | 156 |
JavaScript | 2 | 3 | 10 | 32 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 32.00 |
▷ Minimum class complexity | 32.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 11.33 |
▷ Minimum method complexity | 3.00 |
▷ Maximum method complexity | 21.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 PNG files occupy 0.59MB with 0.33MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 15.04KB | 6.49KB | ▼ 56.86% |
assets/banner-772x250.png | 67.54KB | 26.96KB | ▼ 60.08% |
assets/icon-256x256.png | 43.33KB | 19.53KB | ▼ 54.91% |
assets/screenshot-1.png | 123.28KB | 56.81KB | ▼ 53.92% |
assets/screenshot-3.png | 114.58KB | 56.85KB | ▼ 50.38% |