Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.44ms] Passed 4 tests
This is a short check of server-side resources used by Enable Numeric Slugs
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▼0.01 | 36.92 ▼1.44 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.28 ▼10.99 |
Posts /wp-admin/edit.php | 3.35 ▼0.01 | 49.13 ▲1.10 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 85.49 ▼3.03 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 34.29 ▼2.30 |
Server storage [IO: ▲0.00MB] [DB: ▼0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Enable Numeric Slugs
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.65 ▼0.54 | 4.48 ▲2.75 | 38.21 ▼5.52 |
Dashboard /wp-admin | 2,206 ▲18 | 5.90 ▲0.85 | 112.38 ▼5.32 | 41.99 ▼3.36 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 2.04 ▲0.03 | 35.92 ▼5.90 | 33.40 ▼0.36 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.26 ▼0.02 | 654.89 ▼37.80 | 53.49 ▼1.50 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.21 ▲0.06 | 101.09 ▼10.48 | 42.14 ▼6.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▼0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
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
Everything seems fine, however this is by no means an exhaustive test
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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/enable-numeric-slugs/numeric-slugs.php:33
- > PHP Fatal error
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 90% 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
Please fix the following attributes:
- Screenshots: Screenshot #1 (Plug and Play) image not found
enable-numeric-slugs/numeric-slugs.php 85% from 13 tests
The entry point to "Enable Numeric Slugs" version 1.0.1 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("enable-numeric-slugs.php" instead of "numeric-slugs.php")
- Domain Path: The domain path is invalid: folder "/res/lang" does not exist
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
Success! There were no dangerous files found in this plugin27 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 6 | 25 | 27 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 3 | |
▷ Named functions | 3 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected