Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼3.39ms] Passed 4 tests
Server-side resources used by Remove Taxonomy Url
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 40.34 ▲1.30 |
Dashboard /wp-admin | 3.52 ▲0.22 | 50.08 ▼1.55 |
Posts /wp-admin/edit.php | 3.58 ▲0.21 | 54.89 ▲8.08 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 81.25 ▼18.41 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 37.11 ▲5.11 |
Remove Taxonomy URL /wp-admin/options-general.php?page=rtu_settings_page | 3.36 | 40.95 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
rtu_basics |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Remove Taxonomy Url
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,951 ▲190 | 14.61 ▼0.12 | 1.66 ▲0.04 | 42.05 ▼0.44 |
Dashboard /wp-admin | 2,354 ▲177 | 6.33 ▲0.77 | 105.73 ▲13.59 | 37.30 ▼2.00 |
Posts /wp-admin/edit.php | 2,288 ▲185 | 3.62 ▲1.67 | 58.37 ▲19.50 | 39.47 ▲1.26 |
Add New Post /wp-admin/post-new.php | 1,703 ▲177 | 22.13 ▼1.46 | 669.96 ▲45.66 | 29.11 ▼22.49 |
Media Library /wp-admin/upload.php | 1,425 ▲22 | 4.38 ▲0.16 | 93.98 ▼1.98 | 45.69 ▲2.78 |
Remove Taxonomy URL /wp-admin/options-general.php?page=rtu_settings_page | 1,033 | 3.53 | 49.21 | 31.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- rtu_basics
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: custom taxonomy, taxonomy, slug, taxonomy slug, cpt
remove-taxonomy-url/remove-taxonomy-url.php Passed 13 tests
The entry point to "Remove Taxonomy Url" version 1.0.5 is a PHP file that has certain tags in its header comment area
90 characters long description:
This is a purpose oriented plugin which just removes the custom taxonomies slugs from URL.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected640 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 171 | 708 | 637 |
JavaScript | 1 | 2 | 27 | 3 |
CSS | 1 | 0 | 4 | 0 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 12.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 58 | |
▷ Static methods | 2 | 3.45% |
▷ Public methods | 51 | 87.93% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 12.07% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin