Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.86MB] [CPU: ▲2.91ms] Passed 4 tests
A check of server-side resources used by Pagination by BestWebSoft - Customizable WordPress Content Splitter and Navigation Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.35 ▲0.88 | 53.29 ▲9.73 |
Dashboard /wp-admin | 4.19 ▲0.89 | 57.40 ▲8.48 |
Posts /wp-admin/edit.php | 4.24 ▲0.89 | 55.75 ▲0.84 |
Add New Post /wp-admin/post-new.php | 6.73 ▲0.85 | 90.77 ▼6.31 |
Media Library /wp-admin/upload.php | 4.05 ▲0.83 | 46.16 ▲8.63 |
Server storage [IO: ▲5.30MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 133 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
pgntn_options |
db_upgraded |
widget_theysaidso_widget |
bstwbsftwppdtplgns_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Pagination by BestWebSoft - Customizable WordPress Content Splitter and Navigation Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲71 | 14.39 ▲0.02 | 2.27 ▲0.59 | 43.31 ▲2.28 |
Dashboard /wp-admin | 2,236 ▲59 | 5.67 ▲0.01 | 97.79 ▲4.54 | 43.68 ▲3.01 |
Posts /wp-admin/edit.php | 2,141 ▲44 | 2.02 ▲0.04 | 36.25 ▼3.84 | 33.61 ▼4.00 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 23.30 ▲0.26 | 675.96 ▲51.05 | 54.41 ▲8.02 |
Media Library /wp-admin/upload.php | 1,435 ▲38 | 4.26 ▲0.04 | 103.58 ▼2.92 | 44.35 ▲1.43 |
BWS Panel /wp-admin/pagination.php?page=pgntn-bws-panel | 26 | 0.42 | 0.07 | 14.24 |
Settings /wp-admin/pagination.php | 26 | 0.42 | 0.11 | 6.29 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/pagination/bws_menu/product_list.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/pagination/pagination.php:886
- > PHP Fatal error
Uncaught Error: Class 'Bws_Settings_Tabs' not found in wp-content/plugins/pagination/includes/class-pgntn-settings.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pagination/bws_menu/class-bws-settings.php:1452
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/pagination.php?page=pgntn-bws-panel
- > Network (severe)
wp-admin/pagination.php?page=pgntn-bws-panel - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/pagination.php
- > Network (severe)
wp-admin/pagination.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (Custom pagination block in the front-end - shorthand output.), #2 (Custom pagination block in the front-end with all page numbers.), #3 (Plugin settings in WordPress admin panel.)
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
pagination/pagination.php Passed 13 tests
The principal PHP file in "Pagination by BestWebSoft - Customizable WordPress Content Splitter and Navigation Plugin" v. 1.2.4 is loaded by WordPress automatically on each request
109 characters long description:
Add customizable pagination to WordPress website. Split long content to multiple pages for better navigation.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected26,786 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 18 | 6,172 | 10,449 | 15,396 |
CSS | 10 | 155 | 256 | 5,382 |
PHP | 9 | 474 | 688 | 5,286 |
JavaScript | 6 | 27 | 113 | 572 |
SVG | 4 | 0 | 0 | 150 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 101.67 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 210.00 |
Average method complexity | 13.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 79.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 25.00% |
Functions | 74 | |
▷ Named functions | 74 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
62 PNG files occupy 3.13MB with 1.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
bws_menu/css/jquery-ui-styles/1.10.4/images/ui-bg_glass_75_dadada_1x400.png | 0.31KB | 0.18KB | ▼ 39.81% |
bws_menu/css/jquery-ui-styles/1.12.1/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.32KB | 0.15KB | ▼ 53.40% |
bws_menu/images/close_banner.png | 0.44KB | 0.49KB | 0.00% |
bws_menu/css/jquery-ui-styles/1.10.4/images/ui-icons_cd0a0a_256x240.png | 4.49KB | 4.20KB | ▼ 6.46% |
bws_menu/css/jquery-ui-styles/1.12.1/images/ui-bg_glass_95_fef1ec_1x400.png | 0.38KB | 0.15KB | ▼ 61.54% |