Benchmarks
Plugin footprint 83% from 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.04MB] [CPU: ▼5.18ms] Passed 4 tests
An overview of server-side resources used by Custom Permalink Editor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.67 ▲1.66 |
Dashboard /wp-admin | 3.35 ▲0.04 | 43.81 ▼2.69 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 46.44 ▼2.37 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 80.74 ▼16.51 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.08 ▲0.87 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Custom Permalink Editor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 14.43 ▲0.04 | 1.81 ▼0.10 | 41.66 ▼3.29 |
Dashboard /wp-admin | 2,216 ▲24 | 5.99 ▲1.07 | 101.59 ▼19.00 | 39.39 ▼7.66 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.01 ▲0.03 | 33.60 ▼1.49 | 33.74 ▼1.06 |
Add New Post /wp-admin/post-new.php | 6,234 ▲4,701 | 19.17 ▼4.07 | 850.35 ▲214.33 | 50.04 ▼1.70 |
Media Library /wp-admin/upload.php | 1,404 ▲19 | 4.17 ▼0.01 | 95.64 ▼31.01 | 42.42 ▼9.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
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)
Everything seems fine, however this is by no means an exhaustive test
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 13 tag instead of maximum 10
custom-permalink-editor/custom-permalink-editor.php Passed 13 tests
This is the main PHP file of "Custom Permalink Editor" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
123 characters long description:
Set Permalinks on a per-post and per-page basis. This is very easy to use and this will not effect your rewrite url rules.
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
Good job! No executable or dangerous file extensions detected2,774 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 314 | 352 | 1,564 |
SVG | 2 | 0 | 0 | 1,127 |
CSS | 1 | 1 | 0 | 82 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 55.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 113.00 |
Average method complexity | 5.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 1 | 2.00% |
▷ Public methods | 40 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 20.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
1 PNG file occupies 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/permalink-manager.png | 53.97KB | 19.98KB | ▼ 62.98% |