Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.65ms] Passed 4 tests
Server-side resources used by WP SEF Urls
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 45.11 ▲5.54 |
Dashboard /wp-admin | 3.35 ▲0.01 | 49.38 ▼14.82 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 53.03 ▲5.06 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 85.99 ▼6.37 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 46.61 ▲12.75 |
WP SEF urls /wp-admin/options-general.php?page=wp_sefurls | 3.24 | 36.86 |
Server storage [IO: ▲0.03MB] [DB: ▼0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 10 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
wp_sefurls_date_structure |
wp_sefurls_page_structure |
db_upgraded |
theysaidso_admin_options |
wp_sefurls_author_structure |
wp_sefurls_category_slug |
Browser metrics Passed 4 tests
WP SEF Urls: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.22 ▼1.37 | 1.79 ▲0.02 | 44.98 ▲2.73 |
Dashboard /wp-admin | 2,207 ▲18 | 5.80 ▲0.90 | 99.53 ▼28.19 | 41.22 ▼4.62 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.01 ▲0.01 | 36.77 ▼2.78 | 32.92 ▼3.30 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 21.33 ▲3.01 | 653.13 ▲38.93 | 54.51 ▼11.57 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.13 ▼0.06 | 110.65 ▲12.97 | 48.29 ▲4.91 |
WP SEF urls /wp-admin/options-general.php?page=wp_sefurls | 825 | 2.05 | 26.31 | 24.86 |
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
- This plugin does not fully uninstall, leaving 10 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- wp_sefurls_category_slug
- theysaidso_admin_options
- can_compress_scripts
- wp_sefurls_date_structure
- wp_sefurls_page_structure
- wp_sefurls_author_structure
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/wp-sef-urls/wp-sef-urls.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== wp-sef-urls ===
) - Screenshots: Please add an image for screenshot #1 (**Settings** - Setting page.)
wp-sef-urls/wp-sef-urls.php Passed 13 tests
The main PHP script in "WP SEF Urls" version 0.1 is automatically included on every request by WordPress
41 characters long description:
Search Engine Friendly urls for Wordpress
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 plugin59 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 15 | 29 | 59 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 5 | |
▷ Named functions | 5 | 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
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 26.48KB | 8.16KB | ▼ 69.17% |