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
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▲0.22ms] Passed 4 tests
An overview of server-side resources used by Pagination by HocWP Team
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.83 ▼0.91 |
Dashboard /wp-admin | 3.33 ▲0.02 | 49.92 ▼2.88 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.70 ▲3.40 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 89.52 ▲1.27 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.81 ▲4.12 |
Pagination /wp-admin/options-general.php?page=hocwp_pagination | 3.24 | 30.63 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Pagination by HocWP Team: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲120 | 13.29 ▼1.29 | 1.78 ▲0.05 | 35.80 ▼5.64 |
Dashboard /wp-admin | 2,207 ▲19 | 5.80 ▲0.92 | 96.62 ▼10.96 | 39.00 ▼6.02 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.04 ▲0.03 | 34.93 ▼1.55 | 31.00 ▼6.86 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.20 ▲5.60 | 571.85 ▼41.23 | 63.08 ▲14.93 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.18 ▼0.07 | 93.70 ▼6.93 | 40.24 ▼5.38 |
Pagination /wp-admin/options-general.php?page=hocwp_pagination | 965 | 2.05 | 22.83 | 25.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/sb-paginate/sb-paginate.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/sb-paginate/inc/admin-settings-page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sb-paginate/inc/backend.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/sb-paginate/inc/frontend.php:171
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
6 plugin tags: hocwp pagination, wp pagination, pagination, pagination plugin, paginate...
sb-paginate/sb-paginate.php 85% from 13 tests
The principal PHP file in "Pagination by HocWP Team" v. 2.0.1 is loaded by WordPress automatically on each request
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 228 characters long)
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
Good job! No executable or dangerous file extensions detected575 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 47 | 17 | 369 |
PO File | 2 | 69 | 84 | 156 |
CSS | 1 | 7 | 0 | 50 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 23 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected