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.01MB] [CPU: ▼4.27ms] Passed 4 tests
This is a short check of server-side resources used by Custom Pagination Permalinks
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.94 ▲1.48 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.23 ▼4.10 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 46.27 ▼2.25 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.59 ▼12.20 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.36 ▲1.96 |
Custom Pagination Permalinks /wp-admin/options-general.php?page=custom-pagination-permalinks | 3.18 | 25.97 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Custom Pagination Permalinks
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.67 ▼0.50 | 3.95 ▲2.03 | 39.66 ▼4.12 |
Dashboard /wp-admin | 2,210 ▲19 | 5.86 ▼0.04 | 111.65 ▼4.20 | 41.89 ▼1.04 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.05 | 35.72 ▼4.45 | 31.02 ▼5.19 |
Add New Post /wp-admin/post-new.php | 1,541 ▲8 | 23.13 ▼0.06 | 642.28 ▼50.29 | 70.87 ▲7.18 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.24 ▲0.05 | 97.74 ▼3.19 | 43.45 ▼0.53 |
Custom Pagination Permalinks /wp-admin/options-general.php?page=custom-pagination-permalinks | 973 | 2.05 | 26.68 | 53.51 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- be_cpp_active
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=custom-pagination-permalinks
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=custom-pagination-permalinks
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
custom-pagination-permalinks/custom-pagination-permalinks.php Passed 13 tests
The main file in "Custom Pagination Permalinks" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
94 characters long description:
Custom listing pagination URLs instead default WordPress permalinks like "[..]/page/[number]/"
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin382 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 196 | 149 | 259 |
PO File | 1 | 23 | 25 | 123 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 76.00 |
▷ Minimum class complexity | 76.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 5.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 18 | |
▷ Static methods | 6 | 33.33% |
▷ Public methods | 11 | 61.11% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 38.89% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 8 | 100.00% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin