Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▲4.03ms] Passed 4 tests
A check of server-side resources used by Advanced AJAX Page Loader
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 38.12 ▼7.53 |
Dashboard /wp-admin | 3.39 ▲0.08 | 56.73 ▲1.92 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 58.59 ▲11.65 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 109.04 ▲10.06 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 50.32 ▲16.16 |
Advanced Ajax Page Loader /wp-admin/options-general.php?page=AdvancedAjaxPageLoader | 3.31 | 46.68 |
Server storage [IO: ▲2.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 45 new files
Database: no new tables, 23 new options
New WordPress options |
---|
db_upgraded |
AAPL_scroll_top |
AAPL_click_code |
AAPL_js_debug |
AAPL_commercial |
AAPL_reload_code |
AAPL_content_id |
can_compress_scripts |
AAPL_loading_img |
AAPL_track_analytics |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advanced AJAX Page Loader
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,923 ▲188 | 14.16 ▼0.48 | 10.53 ▲8.52 | 39.17 ▼8.28 |
Dashboard /wp-admin | 2,213 ▲28 | 4.84 ▼1.02 | 108.57 ▲1.80 | 43.61 ▼3.40 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.05 ▲0.04 | 39.91 ▲2.92 | 34.70 ▲0.61 |
Add New Post /wp-admin/post-new.php | 1,537 ▲6 | 23.31 ▲5.26 | 590.48 ▼52.30 | 51.75 ▼4.91 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.17 ▼0.04 | 95.07 ▼12.92 | 42.33 ▼3.98 |
Advanced Ajax Page Loader /wp-admin/options-general.php?page=AdvancedAjaxPageLoader | 1,495 | 2.03 | 26.52 | 43.88 |
Uninstaller [IO: ▲1.80MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 23 options
- AAPL_track_analytics
- widget_theysaidso_widget
- AAPL_commercial
- AAPL_scroll_top
- can_compress_scripts
- AAPL_ignore_list
- AAPL_version
- AAPL_click_code
- AAPL_search_class
- db_upgraded
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 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 | 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 take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > 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
Uncaught Error: Call to undefined function wp_upload_dir() in wp-content/plugins/advanced-ajax-page-loader/options.php:3
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: loader, jquery, ajax, dynamic, post...
advanced-ajax-page-loader/advanced-ajax-page-loader.php 92% from 13 tests
The primary PHP file in "Advanced AJAX Page Loader" version 2.7.7 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: Please 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 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous 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 short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
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% |