Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.53ms] Passed 4 tests
An overview of server-side resources used by Load More Posts
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.65 ▼4.63 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.47 ▼4.26 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.92 ▼2.37 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.13 ▼2.40 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.99 ▼2.83 |
Server storage [IO: ▲3.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Load More Posts
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲155 | 13.48 ▼0.76 | 7.94 ▲6.03 | 38.04 ▼6.43 |
Dashboard /wp-admin | 2,214 ▲37 | 5.62 ▼0.04 | 95.06 ▼3.75 | 42.10 ▼0.22 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.01 ▲0.05 | 38.83 ▼0.79 | 34.64 ▼3.67 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 25.06 ▲1.79 | 590.88 ▼32.52 | 57.82 ▲4.46 |
Media Library /wp-admin/upload.php | 1,416 ▲13 | 4.22 ▲0.00 | 99.40 ▲2.43 | 41.57 ▲0.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/load-more-posts/inc/setting-form.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 76% from 29 tests
readme.txt 81% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Screenshot #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is stored in the /assets directory.) image not found
- Screenshots: These screenshots need descriptions #3, #4 in load-more-posts/assets to your readme.txt
- Donate link: Invalid URI ("mailto:chauhanrajeev85@gmail.com")
load-more-posts/loadmorepost.php 69% from 13 tests
The main file in "Load More Posts" v. 1.3.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Requires PHP: Required version must be the same as the one declared in readme.txt ("5.6.20" instead of "5.2.4")
- Main file name: Name the main plugin file the same as the plugin slug ("load-more-posts.php" instead of "loadmorepost.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin572 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 28 | 22 | 374 |
CSS | 1 | 14 | 0 | 136 |
JavaScript | 1 | 10 | 11 | 60 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 16.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 4.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
13 PNG files occupy 2.42MB with 1.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 739.19KB | 141.77KB | ▼ 80.82% |
screenshot-6.png | 35.33KB | 35.66KB | 0.00% |
icon-loadmore.png | 11.01KB | 4.30KB | ▼ 60.92% |
screenshot-5.png | 106.96KB | 33.27KB | ▼ 68.89% |
screenshot-9.png | 175.67KB | 190.24KB | 0.00% |