Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method DC_Wp_Smart_Taxonomy::activate_dc_WP_Smart_Taxonomy() should not be called statically
Server metrics [RAM: ▲0.12MB] [CPU: ▼9.59ms] Passed 4 tests
Server-side resources used by WP Smart Taxonomy
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 40.21 ▼3.46 |
Dashboard /wp-admin | 3.58 ▲0.23 | 51.73 ▼12.69 |
Posts /wp-admin/edit.php | 3.69 ▲0.34 | 50.84 ▲0.65 |
Add New Post /wp-admin/post-new.php | 5.73 ▼0.16 | 77.30 ▼22.84 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 38.60 ▲1.13 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
dc_WP_Smart_Taxonomy_installed |
dc_dc_WP_ST_general_settings_name |
Browser metrics Passed 4 tests
WP Smart Taxonomy: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲18 | 14.38 ▲0.06 | 1.71 ▼0.33 | 44.17 ▲0.72 |
Dashboard /wp-admin | 2,213 ▲33 | 5.60 ▼0.11 | 87.44 ▼7.51 | 75.64 ▲29.28 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 2.15 ▲0.11 | 34.73 ▼6.94 | 34.44 ▼2.31 |
Add New Post /wp-admin/post-new.php | 6,326 ▲4,772 | 25.99 ▲2.79 | 990.59 ▲317.30 | 52.96 ▼2.61 |
Media Library /wp-admin/upload.php | 1,409 ▲15 | 4.15 ▼0.23 | 100.49 ▼0.36 | 74.13 ▲26.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method DC_Wp_Smart_Taxonomy::deactivate_dc_WP_Smart_Taxonomy() should not be called statically
- The uninstall procedure has failed, leaving 7 options in the database
- dc_dc_WP_ST_general_settings_name
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
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 your attention:
- Tags: There are too many tags (19 tag instead of maximum 10)
wp-smart-taxonomy/WP_Smart_Taxonomy.php 92% from 13 tests
Analyzing the main PHP file in "WP Smart Taxonomy" version 1.1.0
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-smart-taxonomy.php" instead of "WP_Smart_Taxonomy.php")
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,333 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 285 | 261 | 1,079 |
JavaScript | 4 | 12 | 1 | 155 |
CSS | 3 | 9 | 1 | 65 |
PO File | 1 | 10 | 13 | 34 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 35.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 137.00 |
Average method complexity | 4.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 63 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/jquery/upload/images/Placeholder.png | 4.94KB | 2.59KB | ▼ 47.59% |
assets/images/dualcube.png | 3.29KB | 0.65KB | ▼ 80.17% |
assets/images/dualcube_logo.png | 3.86KB | 3.47KB | ▼ 9.97% |
assets/images/dclogo.png | 3.46KB | 0.84KB | ▼ 75.80% |
(invalid) assets/images/question_mark.png | 0.86KB | 0.00KB | ▼ 100.00% |