Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.75ms] Passed 4 tests
Server-side resources used by Remove Special Characters From Permalinks
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.89 ▼6.93 |
Dashboard /wp-admin | 3.32 ▲0.01 | 50.42 ▲1.52 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.73 ▼3.03 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 94.78 ▼6.57 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.48 ▲2.63 |
Server storage [IO: ▲3.99MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Just a few items left to fix
- You have illegally modified 1 file (4.00KB) outside of "wp-content/plugins/remove-special-characters-from-permalinks/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Remove Special Characters From Permalinks: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 13.54 ▼0.84 | 1.61 ▼0.32 | 41.20 ▼1.74 |
Dashboard /wp-admin | 2,224 ▲21 | 4.84 ▼1.03 | 100.40 ▼5.74 | 39.45 ▼5.52 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.05 ▲0.01 | 39.69 ▼2.23 | 34.39 ▼0.99 |
Add New Post /wp-admin/post-new.php | 1,547 ▲16 | 23.13 ▼0.21 | 675.22 ▲29.56 | 54.50 ▲5.08 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.21 ▼0.05 | 104.72 ▼7.16 | 46.37 ▼2.22 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- 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
The smoke test was a success, however most plugin functionality was not tested
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 a smoke test targeting browser errors/issues
There were no browser issues found
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: characters, permalinks, remove, special, problematic...
remove-special-characters-from-permalinks/remove-special-characters-from-permalinks.php Passed 13 tests
The entry point to "Remove Special Characters From Permalinks" version 1.0.8 is a PHP file that has certain tags in its header comment area
43 characters long description:
Removes special characters from permalinks.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin1,037 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 188 | 511 | 955 |
JSON | 3 | 0 | 0 | 82 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 19 | 30.65% |
▷ Public methods | 58 | 93.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 6.45% |
Functions | 10 | |
▷ Named functions | 4 | 40.00% |
▷ Anonymous functions | 6 | 60.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wporg_assets/banner-772x250.png | 28.52KB | 14.49KB | ▼ 49.21% |
wporg_assets/icon-256x256.png | 6.99KB | 3.87KB | ▼ 44.62% |
wporg_assets/images/banner-772x250.png | 28.52KB | 14.49KB | ▼ 49.21% |
wporg_assets/icon-128x128.png | 3.70KB | 2.25KB | ▼ 39.30% |
(invalid) wporg_assets/link-icon.png | 15.48KB | 0.00KB | ▼ 100.00% |