Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.39MB] [CPU: ▼14.13ms] Passed 4 tests
An overview of server-side resources used by xili-tidy-tags
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.27 | 40.86 ▲2.59 |
Dashboard /wp-admin | 3.85 ▲0.50 | 37.99 ▼19.22 |
Posts /wp-admin/edit.php | 3.91 ▲0.55 | 41.78 ▼3.60 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 69.49 ▼33.11 |
Media Library /wp-admin/upload.php | 3.85 ▲0.62 | 34.08 ▼0.57 |
Server storage [IO: ▲0.84MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 29 new files
Database: no new tables, 8 new options
New WordPress options |
---|
xili_tidy_tags_settings |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_xili_tidy_tags_cloud_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for xili-tidy-tags
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲116 | 14.61 ▲0.25 | 1.91 ▲0.24 | 43.80 ▲5.68 |
Dashboard /wp-admin | 2,281 ▲101 | 5.66 ▲0.04 | 89.51 ▲1.62 | 55.17 ▲10.46 |
Posts /wp-admin/edit.php | 2,192 ▲92 | 2.30 ▲0.31 | 45.98 ▲8.46 | 34.19 ▼1.46 |
Add New Post /wp-admin/post-new.php | 1,560 ▲11 | 23.26 ▲5.06 | 721.98 ▲87.73 | 56.59 ▼20.51 |
Media Library /wp-admin/upload.php | 1,480 ▲80 | 4.30 ▲0.10 | 105.62 ▲6.04 | 70.86 ▲26.19 |
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 8 options in the database
- widget_xili_tidy_tags_cloud_widget
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- xili_tidy_tags_settings
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
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/xili-tidy-tags/xili-includes/class-xili-tidy-tags-cloud-multiple-widgets.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/xili-tidy-tags/xili-tidy-tags.php:95
- > PHP Fatal error
Uncaught Error: Class 'Xili_Tidy_Tags' not found in wp-content/plugins/xili-tidy-tags/xili-includes/class-xili-tidy-tags-admin.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: posts, multilingual, tags, taxonomy, shortcode
xili-tidy-tags/xili-tidy-tags.php 92% from 13 tests
The primary PHP file in "xili-tidy-tags" version 1.12.04 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 201 characters long)
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 detected11,273 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 1,931 | 6,916 | 6,264 |
PHP | 4 | 481 | 665 | 2,996 |
PO File | 3 | 627 | 750 | 1,596 |
CSS | 2 | 3 | 36 | 417 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 78.60 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 313.00 |
Average method complexity | 7.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 56 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
13 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
images/back_enabled_hover.png | 0.44KB | 0.60KB | 0.00% |
images/xilitidy-logo-16.png | 0.67KB | 0.52KB | ▼ 21.61% |
images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |