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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.87ms] Passed 4 tests
Analyzing server-side resources used by AT Lazy Loader
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 688.95 ▲643.45 |
Dashboard /wp-admin | 3.34 ▼0.01 | 49.05 ▼16.69 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 53.26 ▲0.24 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 95.10 ▼6.57 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.41 ▼0.48 |
Lazy Loader /wp-admin/options-general.php?page=at_lazy_loader_menu_slug | 3.22 | 26.68 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
at_lazy_loader_image_placeholder |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by AT Lazy Loader
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,785 ▲24 | 14.36 ▼0.29 | 2.69 ▲0.90 | 34.60 ▼10.26 |
Dashboard /wp-admin | 2,202 ▲28 | 5.60 ▼0.07 | 98.45 ▲2.17 | 44.91 ▲2.67 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▼0.08 | 39.53 ▲3.45 | 34.63 ▼1.62 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 18.29 ▼4.89 | 618.65 ▼75.89 | 74.79 ▲22.85 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.19 ▼0.10 | 104.04 ▼13.47 | 41.83 ▼3.35 |
Lazy Loader /wp-admin/options-general.php?page=at_lazy_loader_menu_slug | 795 | 2.01 | 28.00 | 31.14 |
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
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- at_lazy_loader_image_placeholder
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× 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/at-lazy-loader/at-lazy-loader.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
1 plugin tags: lazy loading
at-lazy-loader/at-lazy-loader.php Passed 13 tests
The principal PHP file in "AT Lazy Loader" v. 1.0.0 is loaded by WordPress automatically on each request
39 characters long description:
Lazy loads assets into a Wordpress Site
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
Good job! No executable or dangerous file extensions detected7 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 0 | 7 | 6 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 15 | |
▷ Static methods | 13 | 86.67% |
▷ Public methods | 15 | 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 | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
blank.png | 1.24KB | 0.12KB | ▼ 90.05% |