Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼173.02ms] Passed 4 tests
Server-side resources used by Remove Taxonomy Base Slug
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.04 | 33.15 ▼2.67 |
Dashboard /wp-admin | 3.12 ▲0.06 | 40.96 ▼2.85 |
Posts /wp-admin/edit.php | 3.17 ▲0.06 | 45.02 ▲1.74 |
Add New Post /wp-admin/post-new.php | 5.48 ▲0.04 | 89.15 ▼686.45 |
Media Library /wp-admin/upload.php | 3.07 ▲0.06 | 32.53 ▼0.09 |
Remove Taxonomy Base Slug /wp-admin/plugins.php?page=remove_taxonomy_base_slug | 3.13 | 24.07 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Remove Taxonomy Base Slug
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲88 | 16.03 ▲0.50 | 9.65 ▲0.43 | 43.88 ▼6.10 |
Dashboard /wp-admin | 2,978 ▲47 | 5.89 ▼0.02 | 137.23 ▼13.70 | 110.96 ▼7.97 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.70 ▲0.00 | 68.33 ▼0.48 | 88.67 ▼2.56 |
Add New Post /wp-admin/post-new.php | 3,729 ▲2,053 | 15.24 ▼3.57 | 427.92 ▲65.69 | 104.36 ▼4.97 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.03 ▼0.10 | 150.26 ▲2.65 | 116.07 ▲5.49 |
Remove Taxonomy Base Slug /wp-admin/plugins.php?page=remove_taxonomy_base_slug | 1,130 | 2.36 | 57.49 | 91.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 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: taxonomy, slug, rewrite, term, tag...
remove-taxonomy-base-slug/remove-taxonomy-base-slug.php Passed 13 tests
The primary PHP file in "Remove Taxonomy Base Slug" version 2.1 is used by WordPress to initiate all plugin functionality
117 characters long description:
This plugin can remove specific taxonomy base slug from your permalinks (Go to Plugins -> Remove Taxonomy Base Slug).
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected603 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 125 | 67 | 351 |
CSS | 1 | 35 | 0 | 206 |
JavaScript | 1 | 8 | 3 | 46 |
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.40 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG files were detected