Benchmarks
Plugin footprint Passed 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.08MB] [CPU: ▼141.14ms] Passed 4 tests
A check of server-side resources used by Mega Lazyload
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.92 ▲0.08 | 40.74 ▲2.30 |
Dashboard /wp-admin | 3.14 ▲0.09 | 47.10 ▼0.57 |
Posts /wp-admin/edit.php | 3.25 ▲0.14 | 51.23 ▼5.32 |
Add New Post /wp-admin/post-new.php | 5.50 ▲0.07 | 91.54 ▼556.69 |
Media Library /wp-admin/upload.php | 3.08 ▲0.08 | 33.50 ▼1.99 |
Mega Lazyload /wp-admin/options-general.php?page=mega-lazyload | 3.05 | 32.69 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Please fix the following
- Illegal file modification detected: 1 file (0.00KB) outside of "wp-content/plugins/dmo-spacer-gif-generator/" and "wp-content/uploads/"
- (new file) wp-content/mll-spacer/.empty
Filesystem: 14 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Mega Lazyload
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,730 ▲93 | 16.30 ▲0.35 | 11.43 ▲1.50 | 52.70 ▲8.77 |
Dashboard /wp-admin | 2,983 ▲49 | 5.93 ▼0.03 | 146.00 ▲0.48 | 110.79 ▼16.66 |
Posts /wp-admin/edit.php | 2,749 ▲10 | 2.70 ▲0.01 | 71.90 ▼6.14 | 95.21 ▲9.54 |
Add New Post /wp-admin/post-new.php | 1,691 ▲8 | 18.50 ▼0.26 | 372.21 ▼19.78 | 122.85 ▲1.89 |
Media Library /wp-admin/upload.php | 1,820 ▲10 | 5.04 ▲0.03 | 150.92 ▼3.60 | 114.88 ▼6.56 |
Mega Lazyload /wp-admin/options-general.php?page=mega-lazyload | 1,137 | 2.36 | 68.15 | 106.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: lazyload, spacer, pagespeed lazyloading, png, spacer images
dmo-spacer-gif-generator/mll_sgg.php 77% from 13 tests
The principal PHP file in "Mega Lazyload" v. 2.1.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("dmo-spacer-gif-generator.php" instead of "mll_sgg.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 280 characters long)
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
Success! There were no dangerous files found in this plugin691 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 65 | 52 | 516 |
PO File | 1 | 24 | 24 | 89 |
JavaScript | 3 | 8 | 4 | 85 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 4.20 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin