Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼284.28ms] Passed 4 tests
A check of server-side resources used by Advanced AJAX Page Loader
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.10 | 57.33 ▲7.94 |
Dashboard /wp-admin | 3.49 ▲0.08 | 40.46 ▲7.93 |
Posts /wp-admin/edit.php | 3.72 ▲0.08 | 44.26 ▲8.66 |
Add New Post /wp-admin/post-new.php | 6.96 ▼0.01 | 100.26 ▼1,160.36 |
Media Library /wp-admin/upload.php | 3.37 ▲0.08 | 32.55 ▲7.37 |
Advanced Ajax Page Loader /wp-admin/options-general.php?page=AdvancedAjaxPageLoader | 3.37 | 31.64 |
Server storage [IO: ▲2.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 45 new files
Database: no new tables, 17 new options
New WordPress options |
---|
AAPL_loading_error_code |
AAPL_reload_code |
AAPL_track_analytics |
AAPL_content_id |
AAPL_loading_code |
AAPL_loading_img |
AAPL_search_class |
AAPL_commercial |
AAPL_scroll_top |
AAPL_upload_error |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Advanced AJAX Page Loader
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,897 ▲143 | 16.46 ▲0.76 | 15.03 ▲8.83 | 17.54 ▲15.12 |
Dashboard /wp-admin | 2,893 ▲35 | 6.14 ▼0.03 | 117.13 ▼14.69 | 153.05 ▼9.29 |
Posts /wp-admin/edit.php | 2,696 ▲5 | 3.23 ▼0.13 | 63.51 ▼5.06 | 139.45 ▼4.69 |
Add New Post /wp-admin/post-new.php | 1,776 ▲86 | 21.51 ▲3.42 | 449.23 ▼13.00 | 162.69 ▲1.92 |
Media Library /wp-admin/upload.php | 1,703 ▲5 | 5.50 ▲0.01 | 146.12 ▲9.46 | 187.11 ▲6.44 |
Advanced Ajax Page Loader /wp-admin/options-general.php?page=AdvancedAjaxPageLoader | 1,958 | 2.39 | 57.32 | 177.99 |
Uninstaller [IO: ▲1.80MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 17 options
- AAPL_loading_code
- AAPL_search_class
- AAPL_js_debug
- AAPL_commercial
- AAPL_track_analytics
- AAPL_scroll_top
- AAPL_ignore_list
- AAPL_upload_error
- AAPL_click_code
- AAPL_version
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- 38 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=AdvancedAjaxPageLoader
- > Notice in wp-content/plugins/advanced-ajax-page-loader/options.php+132
Undefined variable: src
- 38 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=AdvancedAjaxPageLoader
- > Notice in wp-content/plugins/advanced-ajax-page-loader/options.php+132
Undefined variable: dst
SRP 50% from 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
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_upload_dir() in wp-content/plugins/advanced-ajax-page-loader/options.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_upload_dir() in wp-content/plugins/advanced-ajax-page-loader/advanced-ajax-page-loader.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 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
10 plugin tags: posts, ajax, post, loader, loading...
advanced-ajax-page-loader/advanced-ajax-page-loader.php 92% from 13 tests
"Advanced AJAX Page Loader" version 2.7.7's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 267 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin733 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 100 | 60 | 523 |
JavaScript | 3 | 58 | 69 | 210 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
1 PNG file occupies 0.12MB with 0.07MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
coming_soon_graphic.png | 122.81KB | 53.53KB | ▼ 56.41% |