Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/simple-custom-google-map/index.php+91
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼51.35ms] Passed 4 tests
A check of server-side resources used by Simple Custom Google Map
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.75 ▼31.57 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.77 ▼42.26 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.84 ▼40.80 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.42 ▼90.75 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 4.83 ▼28.11 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_scgm_map_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Simple Custom Google Map
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲98 | 14.72 ▲0.45 | 6.30 ▲4.70 | 38.77 ▼4.07 |
Dashboard /wp-admin | 2,216 ▲31 | 5.91 ▼0.11 | 109.84 ▲5.90 | 76.87 ▲31.70 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 2.57 ▲0.52 | 46.87 ▲6.73 | 37.88 ▲2.62 |
Add New Post /wp-admin/post-new.php | 1,690 ▲170 | 23.18 ▼0.05 | 614.83 ▼28.85 | 28.67 ▼17.86 |
Media Library /wp-admin/upload.php | 1,413 ▲25 | 5.03 ▲0.92 | 103.57 ▼1.13 | 69.93 ▲23.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/simple-custom-google-map/index.php+91
Function create_function() is deprecated
- Zombie WordPress options detected upon uninstall: 7 options
- widget_scgm_map_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/simple-custom-google-map/index.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Plugin Name: Please specify the plugin name on the first line (
=== simple-custom-google-map ===
) - Requires at least: Version not formatted correctly
simple-custom-google-map/index.php 85% from 13 tests
The principal PHP file in "Simple Custom Google Map" v. 0... is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simple-custom-google-map.php" instead of "index.php")
- Version: Use periods and digits only for your plugin's version number (ex. "1.0.3" instead of "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
There were no executable files found in this plugin1,893 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 327 | 161 | 1,356 |
PHP | 1 | 203 | 41 | 537 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ 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 | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 2.93KB | 0.33KB | ▼ 88.80% |