Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.06ms] Passed 4 tests
An overview of server-side resources used by Infinite All Images
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.73 ▼2.05 |
Dashboard /wp-admin | 3.32 ▼0.03 | 39.41 ▼23.43 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.40 ▲2.66 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 75.91 ▼9.69 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.55 ▼1.08 |
Infinite All Images /wp-admin/options-general.php?page=InfiniteAllImages | 3.21 | 27.92 |
Server storage [IO: ▲0.07MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Infinite All Images
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲49 | 14.28 ▼0.44 | 1.76 ▲0.14 | 42.94 ▼2.50 |
Dashboard /wp-admin | 2,199 ▲19 | 5.63 ▲0.09 | 92.72 ▼8.51 | 41.24 ▼2.26 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.03 ▲0.07 | 40.34 ▲4.11 | 34.52 ▼1.37 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.12 ▲0.02 | 669.37 ▼5.13 | 49.90 ▼7.06 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.18 ▲0.01 | 95.65 ▼2.89 | 41.80 ▼0.31 |
Infinite All Images /wp-admin/options-general.php?page=InfiniteAllImages | 1,167 | 2.00 | 25.88 | 29.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/infinite-all-images/lib/class-infiniteallimagesadmin.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/infinite-all-images/lib/class-infiniteallimagesadmin.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/infinite-all-images/lib/class-infiniteallimages.php:65
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: infinite scroll, masonry, gallery, images
infinite-all-images/infiniteallimages.php 92% from 13 tests
The main PHP script in "Infinite All Images" version 3.03 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("infinite-all-images.php" instead of "infiniteallimages.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
There were no executable files found in this plugin780 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 111 | 213 | 723 |
JavaScript | 2 | 5 | 28 | 40 |
CSS | 2 | 5 | 35 | 17 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 47.00 |
▷ Minimum class complexity | 46.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 6.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.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 | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 70.59% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 29.41% |
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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin