Benchmarks
Plugin footprint 83% from 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: ▲2.36ms] Passed 4 tests
This is a short check of server-side resources used by Longer Permalinks
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 48.31 ▲4.30 |
Dashboard /wp-admin | 3.35 ▲0.05 | 44.27 ▼2.34 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 50.23 ▲5.19 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 93.99 ▲2.27 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 37.45 ▲5.29 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 11 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
longer-permalinks-backup-needed |
longer-permalinks-wpver |
longer-permalinks-revert-needed |
longer-permalinks-pluginver |
longer-permalinks-dbver |
... |
Browser metrics Passed 4 tests
Longer Permalinks: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.14 ▼0.69 | 1.74 ▼0.09 | 42.32 ▼1.28 |
Dashboard /wp-admin | 2,203 ▲14 | 5.91 ▼0.02 | 108.24 ▼20.02 | 41.88 ▼1.08 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▲0.02 | 40.53 ▲3.06 | 37.78 ▲5.97 |
Add New Post /wp-admin/post-new.php | 1,549 ▲14 | 18.08 ▼4.98 | 621.75 ▼48.05 | 65.16 ▲5.59 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.16 ▼0.03 | 97.88 ▼4.38 | 42.34 ▲0.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- longer-permalinks-revert-needed
- can_compress_scripts
- longer-permalinks-backup-needed
- theysaidso_admin_options
- 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)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
longer-permalinks/longer-permalinks.php Passed 13 tests
"Longer Permalinks" version 1.29's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
99 characters long description:
This plugin allows longer permalinks by extending slug length (post_name) from default 200 to 3000.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin202 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 80 | 48 | 188 |
Pascal | 1 | 9 | 98 | 14 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected