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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼299.33ms] Passed 4 tests
Analyzing server-side resources used by Advanced Maps Block
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.03 | 54.52 ▼2.56 |
Dashboard /wp-admin | 3.44 ▲0.03 | 32.26 ▼4.45 |
Posts /wp-admin/edit.php | 3.67 ▲0.02 | 36.29 ▼2.46 |
Add New Post /wp-admin/post-new.php | 6.91 ▼0.07 | 96.10 ▼1,187.83 |
Media Library /wp-admin/upload.php | 3.31 ▲0.02 | 24.80 ▼0.69 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 1 new option
New WordPress options |
---|
advanced_maps_block_api_key |
Browser metrics Passed 4 tests
Advanced Maps Block: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,794 ▲40 | 16.97 ▲0.90 | 14.66 ▲8.17 | 2.21 ▼0.92 |
Dashboard /wp-admin | 2,895 ▲40 | 6.06 ▼0.10 | 117.94 ▼24.73 | 158.55 ▼6.68 |
Posts /wp-admin/edit.php | 2,688 ▼3 | 3.23 ▼0.14 | 64.88 ▼3.40 | 136.59 ▼12.79 |
Add New Post /wp-admin/post-new.php | 1,669 ▼42 | 17.10 ▼3.65 | 417.15 ▼48.66 | 157.16 ▼5.53 |
Media Library /wp-admin/upload.php | 1,698 ▲3 | 5.55 ▲0.06 | 147.40 ▲2.67 | 190.07 ▲6.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 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
4 plugin tags: google maps, map block, wordpress block, gutenberg block
advanced-maps-block/plugin.php 85% from 13 tests
The primary PHP file in "Advanced Maps Block" version 0.2.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("advanced-maps-block.php" instead of "plugin.php")
- Description: Keep the plugin description shorter than 140 characters (currently 163 characters long)
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 plugin1,611 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 957 |
JavaScript | 4 | 52 | 23 | 526 |
PHP | 2 | 17 | 72 | 78 |
Sass | 2 | 10 | 0 | 49 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin