Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.65MB] [CPU: ▼285.01ms] Passed 4 tests
An overview of server-side resources used by CC Custom Taxonomy
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.16 ▲0.64 | 58.83 ▲6.52 |
Dashboard /wp-admin | 4.12 ▲0.71 | 43.51 ▲9.94 |
Posts /wp-admin/edit.php | 4.34 ▲0.70 | 56.33 ▲19.55 |
Add New Post /wp-admin/post-new.php | 7.56 ▲0.59 | 101.17 ▼1,157.53 |
Media Library /wp-admin/upload.php | 3.98 ▲0.68 | 28.84 ▲1.05 |
Server storage [IO: ▲1.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 116 new files
Database: no new tables, 1 new option
New WordPress options |
---|
_ccct_options |
Browser metrics Passed 4 tests
CC Custom Taxonomy: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,153 ▲431 | 18.44 ▲2.39 | 6.08 ▲0.13 | 2.15 ▲0.01 |
Dashboard /wp-admin | 3,242 ▲384 | 7.85 ▲1.68 | 149.20 ▲5.53 | 153.01 ▼14.60 |
Posts /wp-admin/edit.php | 3,066 ▲372 | 5.23 ▲1.99 | 82.95 ▲20.90 | 145.90 ▼0.38 |
Add New Post /wp-admin/post-new.php | 1,770 ▲102 | 18.09 ▼0.29 | 369.17 ▼46.72 | 151.45 ▲0.35 |
Media Library /wp-admin/upload.php | 1,848 ▲150 | 6.22 ▲0.68 | 112.37 ▼27.95 | 188.67 ▼3.70 |
General /wp-admin/admin.php?page=cc-custom-taxonomy#tab=1 | 1,700 | 5.51 | 88.13 | 107.48 |
Custom Fields /wp-admin/admin.php?page=cc-custom-taxonomy#tab=2 | 1,691 | 5.48 | 100.86 | 109.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 1 option
- _ccct_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function ccct_get_option() in wp-content/plugins/cc-custom-taxonmy/inc/config/taxonomy.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: Please describe screenshot #2 in cc-custom-taxonmy/assets to your readme.txt
cc-custom-taxonmy/cc-custom-taxonomy.php 92% from 13 tests
Analyzing the main PHP file in "CC Custom Taxonomy" version 1.0.1
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("cc-custom-taxonmy.php" instead of "cc-custom-taxonomy.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin25,870 lines of code in 111 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 84 | 3,092 | 1,408 | 13,343 |
Sass | 15 | 894 | 3 | 4,514 |
JavaScript | 5 | 1,224 | 350 | 3,939 |
CSS | 4 | 276 | 446 | 3,929 |
PO File | 1 | 63 | 71 | 143 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 22.74 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 119.00 |
Average method complexity | 6.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 57 | |
▷ Abstract classes | 2 | 3.51% |
▷ Concrete classes | 55 | 96.49% |
▷ Final classes | 0 | 0.00% |
Methods | 232 | |
▷ Static methods | 39 | 16.81% |
▷ Public methods | 231 | 99.57% |
▷ Protected methods | 1 | 0.43% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 28 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/codestar-framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |