Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/responsive-pagination/src/WP/Plugin/PackageInitializer.php+13
Non-static method ResponsivePagination\WP\Plugin\PackageInitializer::registerPackage() should not be called statically
Server metrics [RAM: ▼1.85MB] [CPU: ▼195.32ms] Passed 4 tests
This is a short check of server-side resources used by Responsive Pagination
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.77 ▼0.95 | 5.89 ▼23.61 |
Dashboard /wp-admin | 1.80 ▼1.26 | 5.12 ▼39.33 |
Posts /wp-admin/edit.php | 1.80 ▼1.32 | 6.20 ▼52.24 |
Add New Post /wp-admin/post-new.php | 1.80 ▼3.64 | 4.52 ▼658.44 |
Media Library /wp-admin/upload.php | 1.80 ▼1.20 | 5.77 ▼31.27 |
Server storage [IO: ▲0.62MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 39 new files
Database: no new tables, 2 new options
New WordPress options |
---|
respg_stored_converted_elements |
respg_pagination_settings |
Browser metrics Passed 4 tests
An overview of browser requirements for Responsive Pagination
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,828 ▲205 | 16.44 ▲0.90 | 20.29 ▲11.70 | 50.14 ▼4.55 |
Dashboard /wp-admin | 2,978 ▲44 | 5.90 ▼0.12 | 145.49 ▼29.11 | 117.68 ▲2.51 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.70 ▲0.01 | 64.49 ▼4.30 | 92.50 ▼8.74 |
Add New Post /wp-admin/post-new.php | 1,875 ▲377 | 19.15 ▲0.32 | 390.00 ▲2.91 | 111.42 ▲2.57 |
Media Library /wp-admin/upload.php | 1,812 ▲2 | 5.05 ▲0.05 | 166.29 ▲10.38 | 127.48 ▼0.04 |
Responsive Pagination /wp-admin/responsive-pagination.php | 26 | 0.90 | 0.07 | 11.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/responsive-pagination/src/WP/Plugin/PackageInitializer.php+13
Non-static method ResponsivePagination\WP\Plugin\PackageInitializer::registerPackage() should not be called statically
- Zombie WordPress options were found after uninstall: 2 options
- respg_pagination_settings
- respg_stored_converted_elements
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'ResponsivePagination\\WP\\Base\\Main' not found in wp-content/plugins/responsive-pagination/src/WP/Plugin/Main.php:12
- > PHP Fatal error
Uncaught Error: Class 'ResponsivePagination\\WP\\Base\\ActionHooks' not found in wp-content/plugins/responsive-pagination/src/WP/Plugin/ActionHooks.php:11
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/responsive-pagination/src/WP/Base/Admin/View/layout.php:4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/responsive-pagination.php
- > Network (severe)
wp-admin/responsive-pagination.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: responsive, pagination, mobile
responsive-pagination/responsive-pagination.php Passed 13 tests
This is the main PHP file of "Responsive Pagination" version 1.4.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
111 characters long description:
Configure your pagination to adapt to different screen size like phones, tablets, desktops, and larger screens.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin1,613 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 251 | 280 | 1,354 |
JavaScript | 6 | 0 | 19 | 256 |
CSS | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 5.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 24 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 86 | |
▷ Static methods | 31 | 36.05% |
▷ Public methods | 47 | 54.65% |
▷ Protected methods | 29 | 33.72% |
▷ Private methods | 10 | 11.63% |
Functions | 18 | |
▷ Named functions | 4 | 22.22% |
▷ Anonymous functions | 14 | 77.78% |
Constants | 1 | |
▷ Global constants | 1 | 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