Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/simple-load-more/includes/class-simple-load-more.php+86
Constant SCRIPT_DEBUG already defined
Server metrics [RAM: ▼1.74MB] [CPU: ▼58.17ms] Passed 4 tests
Analyzing server-side resources used by Simple Load More
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.26 ▼1.21 | 5.54 ▼34.65 |
Dashboard /wp-admin | 2.28 ▼1.03 | 7.05 ▼47.36 |
Posts /wp-admin/edit.php | 2.28 ▼1.08 | 6.74 ▼46.30 |
Add New Post /wp-admin/post-new.php | 2.28 ▼3.61 | 8.38 ▼104.35 |
Media Library /wp-admin/upload.php | 2.28 ▼0.96 | 8.64 ▼27.89 |
Simple Load More /wp-admin/options-general.php?page=simple_load_more_settings | 2.28 | 8.56 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
simple_load_more_version |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Load More
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,884 ▲123 | 13.45 ▼1.08 | 8.49 ▲6.88 | 42.84 ▲3.13 |
Dashboard /wp-admin | 2,201 ▲24 | 5.52 ▼0.17 | 84.81 ▼8.05 | 40.03 ▼4.69 |
Posts /wp-admin/edit.php | 2,106 ▲9 | 2.02 ▲0.05 | 35.27 ▼3.06 | 36.85 ▲3.41 |
Add New Post /wp-admin/post-new.php | 1,531 ▼6 | 23.12 ▲5.04 | 678.90 ▲31.92 | 54.72 ▼14.57 |
Media Library /wp-admin/upload.php | 1,406 ▲9 | 4.12 ▼0.11 | 105.19 ▲1.92 | 44.59 ▼0.53 |
Simple Load More /wp-admin/options-general.php?page=simple_load_more_settings | 1,398 | 3.50 | 55.00 | 27.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/simple-load-more/includes/class-simple-load-more.php+86
Constant SCRIPT_DEBUG already defined
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- simple_load_more_version
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=simple_load_more_settings
- > Notice in wp-content/plugins/simple-load-more/includes/class-simple-load-more.php+86
Constant SCRIPT_DEBUG already defined
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Add a load more button to your posts loop.), #2 (Choose from 9 different animated loading icons.)
simple-load-more/post-load-more.php 85% from 13 tests
The main file in "Simple Load More" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("simple-load-more.php" instead of "post-load-more.php")
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.7.0" instead of "4.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin1,159 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 236 | 346 | 1,031 |
JavaScript | 4 | 33 | 6 | 93 |
CSS | 2 | 6 | 0 | 35 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 36.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 4.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 2 | 5.88% |
▷ Public methods | 30 | 88.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 11.76% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
4 PNG files occupy 0.35MB with 0.24MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 108.70KB | 32.64KB | ▼ 69.97% |
assets/screenshot-1.png | 108.70KB | 32.64KB | ▼ 69.97% |
assets/screenshot-2.png | 71.87KB | 22.88KB | ▼ 68.17% |
screenshot-2.png | 71.87KB | 22.88KB | ▼ 68.17% |