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 gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼7.05ms] Passed 4 tests
A check of server-side resources used by Simple URLs Legacy
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 36.75 ▼4.57 |
Dashboard /wp-admin | 3.38 ▲0.03 | 45.52 ▼15.74 |
Posts /wp-admin/edit.php | 3.50 ▲0.13 | 47.22 ▲2.78 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 88.83 ▼8.57 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.91 ▲0.67 |
Add New /wp-admin/post-new.php?post_type=surl | 3.34 | 41.46 |
Simple URLs Legacy /wp-admin/edit.php?post_type=surl | 3.35 | 39.36 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Simple URLs Legacy
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲33 | 14.27 ▼0.07 | 1.77 ▼0.27 | 40.48 ▼3.50 |
Dashboard /wp-admin | 2,225 ▲48 | 5.68 ▲0.03 | 93.13 ▼8.64 | 35.98 ▼7.83 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 2.01 ▲0.04 | 40.15 ▲0.97 | 37.48 ▲0.82 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 25.27 ▲1.63 | 596.00 ▼89.67 | 64.23 ▲11.91 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.21 ▼0.02 | 98.25 ▼5.45 | 43.30 ▲0.63 |
Add New /wp-admin/post-new.php?post_type=surl | 1,478 | 2.53 | 53.14 | 51.62 |
Simple URLs Legacy /wp-admin/edit.php?post_type=surl | 1,118 | 1.93 | 31.74 | 31.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
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
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
Everything seems fine, however this is by no means an exhaustive test
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (The URL management screen), #2 (The URL create/edit screen)
simple-urls-legacy/plugin.php 92% from 13 tests
This is the main PHP file of "Simple URLs Legacy" 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
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("simple-urls-legacy.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected246 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 75 | 157 | 231 |
Markdown | 1 | 8 | 0 | 15 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 3.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.27MB with 0.17MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 47.84KB | 18.24KB | ▼ 61.88% |
screenshot-1.png | 156.72KB | 68.20KB | ▼ 56.48% |
assets/surleg-banner.png | 74.26KB | 24.34KB | ▼ 67.22% |