Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.27ms] Passed 4 tests
This is a short check of server-side resources used by Block for Embed Google Maps
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.67 ▼9.07 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.16 ▼5.90 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 44.11 ▼2.23 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.10 ▲0.12 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.89 ▲0.70 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Block for Embed Google Maps
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.72 ▲0.38 | 1.71 ▲0.01 | 40.79 ▼3.08 |
Dashboard /wp-admin | 2,195 ▲18 | 5.62 ▼0.00 | 91.08 ▼2.58 | 36.66 ▼6.89 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.01 ▲0.04 | 39.29 ▲2.94 | 36.90 ▲4.04 |
Add New Post /wp-admin/post-new.php | 6,364 ▲4,835 | 27.40 ▲4.32 | 848.68 ▲201.33 | 53.72 ▼3.41 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.17 ▲0.00 | 100.94 ▲1.07 | 39.98 ▼1.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: A description for screenshot #1 is missing in embed-maps-block/assets to your readme.txt
embed-maps-block/plugin.php 69% from 13 tests
This is the main PHP file of "Block for Embed Google Maps" version 1.5.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("5.0" instead of "5.7")
- Description: Keep the plugin description shorter than 140 characters (currently 185 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("embed-maps-block.php" instead of "plugin.php")
- Requires PHP: Required version must match the one declared in readme.txt ("5.4" instead of "7.0")
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 detected287 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 13 | 12 | 189 |
JSON | 1 | 0 | 0 | 50 |
PHP | 2 | 15 | 39 | 41 |
Sass | 1 | 1 | 0 | 6 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of 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.17 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 6 | |
▷ Static methods | 1 | 16.67% |
▷ Public methods | 6 | 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 Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin