Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼137.50ms] Passed 4 tests
Server-side resources used by Lazy Load for GMaps
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.17 | 30.04 ▲9.02 |
Dashboard /wp-admin | 3.12 ▲0.07 | 44.26 ▲9.22 |
Posts /wp-admin/edit.php | 3.21 ▲0.10 | 41.56 ▲6.90 |
Add New Post /wp-admin/post-new.php | 5.48 ▲0.05 | 84.09 ▼567.29 |
Media Library /wp-admin/upload.php | 3.07 ▲0.07 | 33.30 ▲1.38 |
Lazy Load GMaps /wp-admin/options-general.php?page=lazy_load_google_maps | 3.04 | 29.49 |
Lazy Load GMaps /wp-admin/admin.php?page=lazy_load_google_maps | 3.04 | 30.02 |
WA plugins /wp-admin/admin.php?page=wa-plugins | 3.04 | 25.92 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 2 new options
New WordPress options |
---|
ll_gmaps_date_install |
ll_gmaps_version |
Browser metrics Passed 4 tests
Checking browser requirements for Lazy Load for GMaps
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,717 ▲121 | 15.87 ▲0.29 | 8.66 ▲0.28 | 47.75 ▼2.48 |
Dashboard /wp-admin | 3,003 ▲72 | 5.87 ▼0.08 | 137.34 ▼18.30 | 113.35 ▲6.62 |
Posts /wp-admin/edit.php | 2,775 ▲36 | 2.69 ▼0.00 | 65.39 ▼4.62 | 90.53 ▼2.63 |
Add New Post /wp-admin/post-new.php | 3,750 ▲61 | 15.35 ▼0.04 | 451.33 ▲3.18 | 98.44 ▼13.24 |
Media Library /wp-admin/upload.php | 1,846 ▲36 | 5.12 ▲0.12 | 145.77 ▼24.72 | 123.06 ▲8.12 |
Lazy Load GMaps /wp-admin/options-general.php?page=lazy_load_google_maps | 1,221 | 2.09 | 61.26 | 82.07 |
Lazy Load GMaps /wp-admin/admin.php?page=lazy_load_google_maps | 1,224 | 2.09 | 58.64 | 85.65 |
WA plugins /wp-admin/admin.php?page=wa-plugins | 1,045 | 2.08 | 54.20 | 73.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (screenshot-1.png), #2 (screenshot-2.png)
lazy-load-for-gmaps/lazy-load-for-gmaps.php Passed 13 tests
The entry point to "Lazy Load for GMaps" version 1.0.3 is a PHP file that has certain tags in its header comment area
86 characters long description:
This plugin make your Google Maps in publications and pages more faster via Lazy Load.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin516 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 150 | 37 | 307 |
PO File | 2 | 56 | 60 | 180 |
JavaScript | 1 | 15 | 0 | 26 |
CSS | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.10MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 55.47KB | 24.74KB | ▼ 55.40% |
screenshot-2.png | 48.03KB | 23.07KB | ▼ 51.96% |