Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.27ms] Passed 4 tests
An overview of server-side resources used by AjaxPress | Elevate Your WordPress Experience with Seamless Single-Page Navigation
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 45.42 ▲2.89 |
Dashboard /wp-admin | 3.35 ▲0.05 | 47.70 ▼1.25 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 47.46 ▼5.19 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 89.19 ▼12.07 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.50 ▲1.42 |
AjaxPress /wp-admin/options-general.php?page=ajaxpress | 3.25 | 33.03 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for AjaxPress | Elevate Your WordPress Experience with Seamless Single-Page Navigation
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,902 ▲141 | 13.40 ▼0.99 | 8.67 ▲6.79 | 42.23 ▼1.86 |
Dashboard /wp-admin | 2,199 ▲21 | 5.56 ▼0.07 | 84.40 ▼22.49 | 39.23 ▼4.44 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▼0.03 | 34.45 ▼7.33 | 36.16 ▼1.19 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.11 ▲0.10 | 661.11 ▼48.82 | 58.64 ▼10.95 |
Media Library /wp-admin/upload.php | 1,407 ▲13 | 4.21 ▲0.06 | 96.89 ▼8.86 | 44.72 ▲4.41 |
AjaxPress /wp-admin/options-general.php?page=ajaxpress | 1,186 | 2.27 | 38.23 | 34.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
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 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/ajaxpress/ajaxpress.php
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'AjaxPress\\Base' not found in wp-content/plugins/ajaxpress/includes/classes/class-settings.php:13
- > PHP Fatal error
Uncaught Error: Class 'AjaxPress\\Base' not found in wp-content/plugins/ajaxpress/includes/classes/class-assets.php:14
- > PHP Fatal error
Uncaught Error: Class 'AjaxPress\\Base' not found in wp-content/plugins/ajaxpress/includes/classes/class-app.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function AjaxPress\\plugin_dir_url() in wp-content/plugins/ajaxpress/includes/class-boot.php:51
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% 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
Please fix the following attributes:
- Tags: Too many tags (19 tag instead of maximum 10); only the first 5 tags are used in your directory listing
ajaxpress/ajaxpress.php 85% from 13 tests
The primary PHP file in "AjaxPress | Elevate Your WordPress Experience with Seamless Single-Page Navigation" version 1.3.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 165 characters long)
- Requires at least: Required version does not match the one declared in readme.txt ("4.7" instead of "5.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected396 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 85 | 168 | 316 |
XML | 1 | 39 | 54 | 76 |
JavaScript | 2 | 2 | 2 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 3.20 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 3 | 16.67% |
▷ Public methods | 16 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 11.11% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected