Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼4.87ms] Passed 4 tests
This is a short check of server-side resources used by Styles For WP Pagenavi Addon - Better design for post pagination
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 37.37 ▼11.06 |
Dashboard /wp-admin | 3.38 ▲0.08 | 45.22 ▼1.56 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 49.18 ▼1.72 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 95.85 ▼5.13 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 37.56 ▲3.75 |
WPOS - Pagenavi /wp-admin/admin.php?page=sfwppa-settings | 3.35 | 38.07 |
Upgrade to PRO /wp-admin/admin.php?page=sfwppa-premium | 3.28 | 31.69 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Styles For WP Pagenavi Addon - Better design for post pagination: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲73 | 13.34 ▼0.96 | 4.47 ▲2.58 | 40.52 ▲0.83 |
Dashboard /wp-admin | 2,234 ▲43 | 5.87 ▼0.01 | 108.78 ▼4.66 | 40.39 ▼1.50 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 1.99 ▼0.02 | 40.64 ▼1.56 | 37.12 ▼0.89 |
Add New Post /wp-admin/post-new.php | 1,556 ▲22 | 23.23 ▼0.04 | 668.14 ▲67.79 | 52.15 ▲2.85 |
Media Library /wp-admin/upload.php | 1,416 ▲31 | 4.22 ▼0.01 | 94.86 ▼7.34 | 43.24 ▼0.31 |
WPOS - Pagenavi /wp-admin/admin.php?page=sfwppa-settings | 1,867 | 4.33 | 76.11 | 26.60 |
Upgrade to PRO /wp-admin/admin.php?page=sfwppa-premium | 921 | 2.06 | 22.68 | 38.19 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 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 Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4 in styles-for-wp-pagenavi-addon/assets to your readme.txt
styles-for-wp-pagenavi-addon/styles-for-wp-pagenavi-addon.php Passed 13 tests
The primary PHP file in "Styles For WP Pagenavi Addon - Better design for post pagination" version 1.2.1 is used by WordPress to initiate all plugin functionality
117 characters long description:
Adds a more styling options to Wp-PageNavi WordPress plugin OR the_posts_pagination(); WordPress navigation function
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
No dangerous file extensions were detected634 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 125 | 156 | 546 |
CSS | 2 | 6 | 21 | 72 |
JavaScript | 1 | 3 | 0 | 16 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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 images were found in this plugin