Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.56MB] [CPU: ▲7.39ms] Passed 4 tests
A check of server-side resources used by Permalink Manager Lite
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.02 ▲1.56 | 47.45 ▲6.67 |
Dashboard /wp-admin | 4.88 ▲1.54 | 64.30 ▲4.10 |
Posts /wp-admin/edit.php | 5.00 ▲1.64 | 58.41 ▲11.37 |
Add New Post /wp-admin/post-new.php | 7.47 ▲1.58 | 94.34 ▲7.40 |
Media Library /wp-admin/upload.php | 4.80 ▲1.57 | 52.23 ▲16.57 |
Permalink Manager /wp-admin/tools.php?page=permalink-manager | 4.81 | 46.31 |
Server storage [IO: ▲0.58MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Permalink Manager Lite
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲76 | 14.27 ▼0.08 | 1.68 ▲0.03 | 42.21 ▼1.67 |
Dashboard /wp-admin | 2,224 ▲53 | 5.74 ▲0.11 | 96.99 ▼6.62 | 37.90 ▼4.55 |
Posts /wp-admin/edit.php | 2,150 ▲50 | 2.42 ▲0.41 | 35.40 ▼2.53 | 35.40 ▼1.13 |
Add New Post /wp-admin/post-new.php | 6,241 ▲4,715 | 26.26 ▲3.01 | 987.15 ▲281.07 | 56.23 ▲5.03 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.33 ▲0.11 | 95.97 ▼1.95 | 41.44 ▲0.00 |
Permalink Manager /wp-admin/tools.php?page=permalink-manager | 1,106 | 1.93 | 31.11 | 50.88 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/permalink-manager/includes/views/permalink-manager-uri-editor-post.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: permalinks, woocommerce permalinks, permalink, url editor, custom permalinks
permalink-manager/permalink-manager.php 92% from 13 tests
The main file in "Permalink Manager Lite" v. 2.4.1.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("4.4.0" instead of "3.0.0")
Code Analysis 97% from 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 detected6,651 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 1,589 | 2,358 | 6,005 |
JavaScript | 2 | 126 | 138 | 473 |
CSS | 2 | 23 | 44 | 173 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Please tend to the following items
- Please reduce cyclomatic complexity of methods to less than 100 (currently 132)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.68 |
Average class complexity | 92.60 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 300.00 |
Average method complexity | 8.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 132.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 261 | |
▷ Static methods | 88 | 33.72% |
▷ Public methods | 260 | 99.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.38% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
PNG images were not found in this plugin