Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼137.52ms] Passed 4 tests
Analyzing server-side resources used by Maxi Woo Ajax Navigation
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.98 ▲0.14 | 36.50 ▼0.68 |
Dashboard /wp-admin | 3.30 ▲0.24 | 52.71 ▲9.36 |
Posts /wp-admin/edit.php | 3.34 ▲0.23 | 51.66 ▲7.93 |
Add New Post /wp-admin/post-new.php | 5.57 ▲0.13 | 87.76 ▼555.56 |
Media Library /wp-admin/upload.php | 3.15 ▲0.15 | 31.99 ▼1.76 |
Woo Ajax Nav /wp-admin/options-general.php?page=waj | 3.15 | 36.00 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 30 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Maxi Woo Ajax Navigation
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,900 ▲304 | 17.86 ▲2.26 | 9.96 ▲0.98 | 53.43 ▲7.27 |
Dashboard /wp-admin | 3,191 ▲257 | 7.36 ▲1.21 | 164.15 ▲23.63 | 122.20 ▲10.72 |
Posts /wp-admin/edit.php | 2,989 ▲250 | 4.08 ▲1.37 | 83.51 ▲11.78 | 83.54 ▼9.74 |
Add New Post /wp-admin/post-new.php | 1,535 ▼137 | 20.92 ▲2.11 | 361.97 ▼5.00 | 131.04 ▲23.68 |
Media Library /wp-admin/upload.php | 1,835 ▲25 | 5.19 ▲0.19 | 114.87 ▼25.92 | 120.57 ▲12.42 |
Woo Ajax Nav /wp-admin/options-general.php?page=waj | 2,380 | 4.55 | 97.46 | 125.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 0% 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
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/maxi-woo-ajax-navigation/public/partials/waj-public-display.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Undefined variable: save in wp-content/plugins/maxi-woo-ajax-navigation/admin/partials/page_settings.php on line 19
- > PHP Fatal error
Uncaught Error: Class 'WAJ' not found in wp-content/plugins/maxi-woo-ajax-navigation/admin/partials/_sidebar.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/maxi-woo-ajax-navigation/admin/partials/page_settings.php:28
- > PHP Notice
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: ajax navigation, ajax pagination, woocommerce, products, filter
maxi-woo-ajax-navigation/maxi-woo-ajax-navigation.php 92% from 13 tests
The entry point to "Maxi Woo Ajax Navigation" version 1.0.2 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin1,195 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 268 | 752 | 724 |
CSS | 3 | 57 | 39 | 333 |
JavaScript | 3 | 50 | 66 | 138 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 8.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 2.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 46 | |
▷ Static methods | 7 | 15.22% |
▷ Public methods | 40 | 86.96% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 13.04% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/wp_foto_vote0.png | 67.98KB | 33.22KB | ▼ 51.13% |