Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/caret-ez-google-maps/CaretEzGoogleMaps.php+27
Methods with the same name as their class will not be constructors in a future version of PHP; CaretEzGoogleMaps has a deprecated constructor
Server metrics [RAM: ▼1.92MB] [CPU: ▼60.57ms] Passed 4 tests
Server-side resources used by Caret Ez Google Maps
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 4.34 ▼38.95 |
Dashboard /wp-admin | 2.08 ▼1.22 | 6.88 ▼60.74 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 6.07 ▼45.99 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.80 | 5.62 ▼96.59 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 6.97 ▼30.49 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Caret Ez Google Maps
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,861 ▲61 | 14.55 ▲0.10 | 28.66 ▲26.74 | 41.18 ▼3.46 |
Dashboard /wp-admin | 2,208 ▲8 | 4.86 ▼1.00 | 109.64 ▲1.50 | 41.57 ▼3.45 |
Posts /wp-admin/edit.php | 2,091 ▲2 | 2.01 ▼0.00 | 41.94 ▲4.79 | 36.06 ▼3.02 |
Add New Post /wp-admin/post-new.php | 1,535 ▲16 | 23.33 ▼0.00 | 696.58 ▲5.29 | 52.74 ▼1.17 |
Media Library /wp-admin/upload.php | 1,390 ▲5 | 4.19 ▼0.05 | 95.12 ▼16.06 | 41.27 ▼6.79 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/caret-ez-google-maps/CaretEzGoogleMaps.php+27
Methods with the same name as their class will not be constructors in a future version of PHP; CaretEzGoogleMaps has a deprecated constructor
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please take a closer look at the following
- 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/caret-ez-google-maps/CaretEzGoogleMaps.php:31
- > 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
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (編集画面), #2 (記事画面)
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== caret-ez-google-maps ===
)
caret-ez-google-maps/CaretEzGoogleMaps.php 85% from 13 tests
"Caret Ez Google Maps" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 146 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("caret-ez-google-maps.php" instead of "CaretEzGoogleMaps.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected142 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 23 | 21 | 75 |
JavaScript | 2 | 0 | 0 | 63 |
CSS | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 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
3 PNG files occupy 0.16MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
button.png | 0.83KB | 0.63KB | ▼ 23.58% |
screenshot-1.png | 13.39KB | 11.18KB | ▼ 16.49% |
screenshot-2.png | 149.46KB | 135.03KB | ▼ 9.66% |