Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.24ms] Passed 4 tests
Analyzing server-side resources used by Permalinks to Category/Permalinks
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 44.39 ▼0.88 |
Dashboard /wp-admin | 3.31 ▲0.01 | 53.46 ▼1.42 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.47 ▼6.89 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 91.21 ▼11.78 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 40.92 ▲2.83 |
Permalinks to Category/Permalinks /wp-admin/options-general.php?page=orbisius_perma2catperma_options_page | 3.20 | 32.52 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Permalinks to Category/Permalinks
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲9 | 14.72 ▲0.36 | 1.95 ▼0.01 | 44.94 ▼1.10 |
Dashboard /wp-admin | 2,199 ▲19 | 5.64 ▲0.01 | 92.29 ▲5.26 | 43.09 ▲2.92 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.98 ▼0.04 | 33.33 ▼9.50 | 34.75 ▼1.38 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 22.95 ▼0.22 | 657.54 ▲6.69 | 60.04 ▼0.86 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.20 ▼0.02 | 95.49 ▼7.23 | 43.25 ▼0.92 |
Permalinks to Category/Permalinks /wp-admin/options-general.php?page=orbisius_perma2catperma_options_page | 1,286 | 4.00 | 85.54 | 38.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/permalinks-to-categorypermalinks/plugin.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 20 tag instead of maximum 10
permalinks-to-categorypermalinks/plugin.php 85% from 13 tests
Analyzing the main PHP file in "Permalinks to Category/Permalinks" version 1.0.2
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("permalinks-to-categorypermalinks.php" instead of "plugin.php")
- Description: Keep the plugin description shorter than 140 characters (currently 301 characters long)
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
Success! There were no dangerous files found in this plugin273 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 70 | 63 | 273 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 6.00 |
▷ Minimum method complexity | 6.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1 | |
▷ Static methods | 1 | 100.00% |
▷ Public methods | 1 | 100.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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
i/guNzr.qr.2.png | 0.23KB | 0.23KB | 0.43% |
i/guNzr.qr.16.png | 0.39KB | 0.41KB | 0.00% |