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.00MB] [CPU: ▼4.20ms] Passed 4 tests
A check of server-side resources used by Load More Ajax Lite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.03 | 40.78 ▲1.43 |
Dashboard /wp-admin | 3.32 ▼0.03 | 43.77 ▼16.11 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 41.99 ▼6.26 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 101.10 ▲10.65 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.96 ▲4.13 |
Server storage [IO: ▲1.40MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
load_more_ajax_lite_version |
widget_theysaidso_widget |
load_more_ajax_lite_installed |
Browser metrics Passed 4 tests
A check of browser resources used by Load More Ajax Lite
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.15 ▼1.22 | 1.71 ▼0.12 | 41.54 ▼1.64 |
Dashboard /wp-admin | 2,209 ▲24 | 6.06 ▲0.23 | 101.19 ▼1.56 | 38.24 ▼1.85 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.01 | 36.56 ▼2.97 | 34.69 ▼2.10 |
Add New Post /wp-admin/post-new.php | 1,534 ▼2 | 23.00 ▼0.32 | 640.91 ▼27.22 | 65.03 ▲2.28 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.25 ▲0.02 | 94.78 ▼3.34 | 42.89 ▲0.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 8 options in the database
- load_more_ajax_lite_version
- theysaidso_admin_options
- load_more_ajax_lite_installed
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/load-more-ajax/load-more-ajax-lite.php
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_image_size() in wp-content/plugins/load-more-ajax/inc/functions.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/load-more-ajax/inc/shortcodes.php:103
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/load-more-ajax/inc/admin/admin-menu.php:18
- > 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 83% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: You are using too many tags: 13 tag instead of maximum 10
load-more-ajax/load-more-ajax-lite.php 69% from 13 tests
The principal PHP file in "Load More Ajax Lite" v. 1.0.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Requires PHP: The required version number did not match the one declared in readme.txt ("7.0" instead of "7.2")
- Main file name: Name the main plugin file the same as the plugin slug ("load-more-ajax.php" instead of "load-more-ajax-lite.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Requires at least: The required version number did 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 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected1,166 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 43 | 13 | 600 |
PHP | 4 | 69 | 109 | 327 |
JavaScript | 1 | 85 | 2 | 239 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 10 | |
▷ Static methods | 1 | 10.00% |
▷ Public methods | 8 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 20.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 5 | 71.43% |
▷ Class constants | 2 | 28.57% |
▷ Public constants | 2 | 100.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