Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼150.12ms] Passed 4 tests
A check of server-side resources used by Google Maps v3 Shortcode multiple Markers
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 31.08 ▲5.81 |
Dashboard /wp-admin | 3.06 ▼0.00 | 35.16 ▼5.04 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 31.46 ▼2.03 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 71.62 ▼593.33 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 24.94 ▼0.06 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Google Maps v3 Shortcode multiple Markers
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,722 ▲121 | 16.44 ▲0.72 | 17.33 ▲11.38 | 76.59 ▼2.10 |
Dashboard /wp-admin | 2,930 ▲31 | 6.12 ▼0.08 | 112.34 ▼26.15 | 164.43 ▼9.04 |
Posts /wp-admin/edit.php | 2,740 ▼0 | 3.24 ▲0.00 | 63.71 ▼0.56 | 130.31 ▼13.64 |
Add New Post /wp-admin/post-new.php | 3,735 ▼78 | 18.18 ▼0.43 | 473.43 ▲15.92 | 160.69 ▼9.67 |
Media Library /wp-admin/upload.php | 1,749 ▼3 | 5.52 ▲0.00 | 143.97 ▼2.38 | 188.31 ▲5.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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 following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/google-maps-v3-shortcode-multiple-markers/Google-Maps-v3-Shortcode-multiplemarkers.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== google-maps-v3-shortcode-multiple-markers ===
)
google-maps-v3-shortcode-multiple-markers/Google-Maps-v3-Shortcode-multiplemarkers.php 85% from 13 tests
Analyzing the main PHP file in "Google Maps v3 Shortcode multiple Markers" version 1.0
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 207 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("google-maps-v3-shortcode-multiple-markers.php" instead of "Google-Maps-v3-Shortcode-multiplemarkers.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin108 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 10 | 10 | 108 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
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 | 3 | |
▷ Named functions | 3 | 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
1 PNG file occupies 0.32MB with 0.21MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 327.72KB | 114.22KB | ▼ 65.15% |