Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.49MB] [CPU: ▲0.03ms] Passed 4 tests
An overview of server-side resources used by Load More Anything
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.98 ▲0.52 | 41.61 ▲4.56 |
Dashboard /wp-admin | 3.84 ▲0.50 | 50.89 ▼6.17 |
Posts /wp-admin/edit.php | 3.88 ▲0.53 | 48.13 ▲1.89 |
Add New Post /wp-admin/post-new.php | 6.35 ▲0.46 | 96.13 ▲0.83 |
Media Library /wp-admin/upload.php | 3.70 ▲0.47 | 36.47 ▲3.58 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
ald_installed |
theysaidso_admin_options |
ald_plugin_version |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Load More Anything
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,287 ▲541 | 13.86 ▼0.36 | 8.20 ▲6.59 | 44.30 ▲5.08 |
Dashboard /wp-admin | 2,594 ▲417 | 5.61 ▲0.08 | 99.76 ▲10.39 | 47.93 ▲6.70 |
Posts /wp-admin/edit.php | 2,502 ▲402 | 2.04 ▲0.03 | 35.94 ▼0.07 | 33.10 ▼2.84 |
Add New Post /wp-admin/post-new.php | 1,925 ▲388 | 23.15 ▲4.77 | 661.28 ▼1.00 | 52.20 ▼5.36 |
Media Library /wp-admin/upload.php | 1,802 ▲408 | 4.25 ▲0.08 | 93.62 ▼2.39 | 41.36 ▼2.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 8 options in the database
- ald_installed
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- ald_plugin_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 fix the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ajax-load-more-anything/inc/class-admin-notice.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ajax-load-more-anything/admin/Menu.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ajax-load-more-anything/inc/ald-functions.php:94
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ajax-load-more-anything/admin/functions.php:144
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: infinite scroll, ajax pagination, woocommerce ajax, ajax load more, load more...
ajax-load-more-anything/ajax-load-div.php 85% from 13 tests
The entry point to "Load More Anything" version 3.3.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 270 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ajax-load-more-anything.php" instead of "ajax-load-div.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin3,639 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 573 | 636 | 2,670 |
CSS | 2 | 99 | 11 | 632 |
JavaScript | 1 | 66 | 26 | 196 |
Markdown | 1 | 61 | 0 | 141 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 32.60 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 82.00 |
Average method complexity | 3.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 70 | |
▷ Static methods | 3 | 4.29% |
▷ Public methods | 52 | 74.29% |
▷ Protected methods | 5 | 7.14% |
▷ Private methods | 13 | 18.57% |
Functions | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
There are no PNG files in this plugin