Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.43ms] 75% from 4 tests
Analyzing server-side resources used by Advanced Permalink
Please take the time to fix the following items
- CPU: Total CPU usage must kept under 500.00ms (currently 509.68ms on /wp-admin/options-general.php?page=post-type-permalink)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.71 ▼0.85 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.87 ▼2.28 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.19 ▼1.62 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 82.62 ▼4.96 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.86 ▲1.28 |
Advanced Permalinks /wp-admin/options-general.php?page=post-type-permalink | 3.23 | 509.68 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Advanced Permalink: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.31 ▼0.95 | 1.75 ▲0.04 | 41.47 ▼3.70 |
Dashboard /wp-admin | 2,213 ▲25 | 4.87 ▼1.01 | 106.37 ▼1.64 | 40.16 ▼6.06 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▲0.01 | 37.29 ▲0.80 | 32.97 ▼2.39 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.51 ▼4.79 | 645.88 ▼26.01 | 67.57 ▲5.03 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.17 ▲0.01 | 95.32 ▼8.41 | 43.11 ▲0.70 |
Advanced Permalinks /wp-admin/options-general.php?page=post-type-permalink | 779 | 2.03 | 23.47 | 26.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 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)
Even though no errors were found, 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 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 shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: url customize, advanced permalink, permalink customize, permalink, permalink manage...
advanced-permalink/advanced-permalink.php Passed 13 tests
The primary PHP file in "Advanced Permalink" version 1.0.2 is used by WordPress to initiate all plugin functionality
31 characters long description:
Manage Permalinks off all posts
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in 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
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin