Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼284.17ms] Passed 4 tests
Analyzing server-side resources used by Advanced Permalink
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 62.27 ▲7.15 |
Dashboard /wp-admin | 3.43 ▲0.03 | 35.69 ▼6.65 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 88.75 ▲44.39 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 99.80 ▼1,141.46 |
Media Library /wp-admin/upload.php | 3.31 ▲0.02 | 30.96 ▲4.27 |
Advanced Permalinks /wp-admin/options-general.php?page=post-type-permalink | 3.28 | 25.22 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Advanced Permalink
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,790 ▲46 | 15.29 ▲0.01 | 6.47 ▼0.49 | 2.32 ▼0.09 |
Dashboard /wp-admin | 2,894 ▲40 | 6.20 ▲0.08 | 116.95 ▼14.12 | 159.24 ▼0.15 |
Posts /wp-admin/edit.php | 2,696 ▲5 | 3.24 ▲0.00 | 62.96 ▼0.41 | 141.73 ▼5.99 |
Add New Post /wp-admin/post-new.php | 1,763 ▲102 | 17.62 ▲1.04 | 412.35 ▼1.07 | 171.22 ▲12.55 |
Media Library /wp-admin/upload.php | 1,700 ▼1 | 5.54 ▼0.01 | 141.04 ▲2.50 | 186.55 ▲4.42 |
Advanced Permalinks /wp-admin/options-general.php?page=post-type-permalink | 1,002 | 2.41 | 54.50 | 170.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-permalink/advanced-permalink.php:16
- > PHP Fatal error
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
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: permalink manage, url customize, url, permalink customize, advanced permalink...
advanced-permalink/advanced-permalink.php Passed 13 tests
This is the main PHP file of "Advanced Permalink" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
31 characters long description:
Manage Permalinks off all posts
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin187 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 26 | 11 | 159 |
PO File | 1 | 6 | 6 | 28 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 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 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected