Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/very-simple-google-map/very-simple-google-map.php+17
Methods with the same name as their class will not be constructors in a future version of PHP; gmaps has a deprecated constructor
Server metrics [RAM: ▼1.92MB] [CPU: ▼55.34ms] Passed 4 tests
Server-side resources used by Very simple Google map
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 4.02 ▼36.56 |
Dashboard /wp-admin | 2.09 ▼1.21 | 5.79 ▼45.03 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 5.26 ▼45.08 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.80 | 5.94 ▼94.68 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 5.49 ▼28.03 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_gmaps |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Very simple Google map
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.21 ▼1.18 | 4.78 ▲2.87 | 41.66 ▼1.71 |
Dashboard /wp-admin | 2,203 ▲15 | 5.83 ▲0.04 | 99.67 ▼14.84 | 39.51 ▼5.23 |
Posts /wp-admin/edit.php | 2,092 ▲6 | 1.98 ▼0.07 | 39.65 ▲4.02 | 35.19 ▲2.01 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.22 ▲4.61 | 653.17 ▲40.44 | 59.26 ▲7.69 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.18 ▲0.01 | 95.52 ▼8.79 | 41.57 ▼2.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/very-simple-google-map/very-simple-google-map.php+17
Methods with the same name as their class will not be constructors in a future version of PHP; gmaps has a deprecated constructor
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_gmaps
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/very-simple-google-map/very-simple-google-map.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% 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:
- Donate link: Invalid URI ("")
- Tags: There are too many tags (17 tag instead of maximum 10)
- Screenshots: These screenshots require images: #1 (screenshot-1.jpg), #2 (screenshot-2.jpg), #3 (screenshot-3.jpg), #4 (screenshot-4.jpg)
very-simple-google-map/very-simple-google-map.php Passed 13 tests
"Very simple Google map" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
123 characters long description:
This is s very simple plugin for Google map. This plugin will show your location image.You can use this plugin very easily.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin67 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 4 | 13 | 67 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 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
There were not PNG files found in your plugin