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
Installer ran successfully
Server metrics [RAM: ▲0.38MB] [CPU: ▲0.71ms] Passed 4 tests
Analyzing server-side resources used by Creative Tag Cloud
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.88 ▲0.42 | 41.16 ▲0.31 |
Dashboard /wp-admin | 3.72 ▲0.41 | 47.98 ▼1.17 |
Posts /wp-admin/edit.php | 3.77 ▲0.41 | 45.35 ▲1.41 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.35 | 93.39 ▲2.28 |
Media Library /wp-admin/upload.php | 3.58 ▲0.35 | 34.75 ▲2.45 |
Creative Tag Cloud /wp-admin/options-general.php?page=creative-tag-cloud-settings | 3.55 | 39.09 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_creative_wave_tag_cloud_widget |
widget_creative_spiral_tag_cloud_widget |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Creative Tag Cloud
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲168 | 13.93 ▼0.46 | 8.79 ▲6.88 | 43.62 ▲0.27 |
Dashboard /wp-admin | 2,207 ▲16 | 4.83 ▼0.27 | 111.11 ▼0.25 | 43.62 ▼1.81 |
Posts /wp-admin/edit.php | 2,090 ▲19 | 2.01 ▼0.02 | 36.45 ▲0.68 | 36.61 ▲0.41 |
Add New Post /wp-admin/post-new.php | 1,540 ▲9 | 18.65 ▼4.26 | 612.15 ▲37.10 | 73.24 ▲21.49 |
Media Library /wp-admin/upload.php | 1,386 ▲1 | 4.24 ▲0.03 | 93.46 ▼5.09 | 43.35 ▲0.43 |
Creative Tag Cloud /wp-admin/options-general.php?page=creative-tag-cloud-settings | 1,047 | 1.90 | 30.63 | 32.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 8 options in the database
- db_upgraded
- widget_creative_spiral_tag_cloud_widget
- widget_recent-comments
- widget_creative_wave_tag_cloud_widget
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/creative-tag-cloud/includes/class-creative-tag-cloud-widget.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
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
6 plugin tags: waves, widget, spiral, tag cloud, tags...
creative-tag-cloud/creative-tag-cloud.php 92% from 13 tests
The primary PHP file in "Creative Tag Cloud" version 0.3.2 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder does not exist ("/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
Success! There were no dangerous files found in this plugin2,037 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 1,004 | 1,017 | 1,696 |
JavaScript | 2 | 29 | 72 | 274 |
CSS | 2 | 7 | 33 | 67 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 22.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 3.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 78 | |
▷ Static methods | 11 | 14.10% |
▷ Public methods | 59 | 75.64% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 19 | 24.36% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 10 | |
▷ Global constants | 4 | 40.00% |
▷ Class constants | 6 | 60.00% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin