Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼6.37ms] Passed 4 tests
Analyzing server-side resources used by Smart Google Map
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 46.17 ▲2.41 |
Dashboard /wp-admin | 3.38 ▲0.07 | 50.69 ▼5.69 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 59.14 ▲5.09 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 93.69 ▼18.85 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 39.42 ▼3.35 |
Category /wp-admin/edit-tags.php?taxonomy=marker-category&post_type=smart-google-map | 3.29 | 33.93 |
Settings /wp-admin/edit.php?post_type=smart-google-map&page=sgm-settings | 3.26 | 38.35 |
All Markers /wp-admin/edit.php?post_type=smart-google-map | 3.34 | 41.76 |
Add New /wp-admin/post-new.php?post_type=smart-google-map | 3.42 | 53.79 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
google_map_api_key |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Smart Google Map
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲117 | 13.23 ▼1.35 | 5.52 ▲3.72 | 49.11 ▼5.61 |
Dashboard /wp-admin | 2,241 ▲56 | 5.83 ▼0.03 | 130.36 ▲5.00 | 61.59 ▲14.34 |
Posts /wp-admin/edit.php | 2,127 ▲35 | 1.98 ▼0.07 | 48.93 ▲1.96 | 41.50 ▼0.47 |
Add New Post /wp-admin/post-new.php | 1,562 ▲151 | 23.06 ▲5.29 | 679.50 ▼7.32 | 69.66 ▲9.02 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.14 ▼0.04 | 114.25 ▼55.47 | 58.22 ▼11.89 |
Category /wp-admin/edit-tags.php?taxonomy=marker-category&post_type=smart-google-map | 1,300 | 2.14 | 31.88 | 31.94 |
Settings /wp-admin/edit.php?post_type=smart-google-map&page=sgm-settings | 867 | 2.03 | 34.45 | 45.34 |
All Markers /wp-admin/edit.php?post_type=smart-google-map | 1,099 | 1.93 | 41.26 | 34.58 |
Add New /wp-admin/post-new.php?post_type=smart-google-map | 2,345 | 7.74 | 173.28 | 65.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- google_map_api_key
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/smart-google-map/inc/sgm-settings-page.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/smart-google-map/inc/sgm-custom-post.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/smart-google-map/inc/sgm-shortcode.php:44
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/smart-google-map/inc/sgm-meta-box.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/smart-google-map/inc/sgm-custom-post.php:3
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: dynamic google map, marker, smart google map, dynamic map, google map...
smart-google-map/smart-google-map.php Passed 13 tests
The main file in "Smart Google Map" v. 1.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
33 characters long description:
Just an another Google Map plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected341 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 66 | 11 | 341 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 10 | |
▷ Named functions | 10 | 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 are no PNG files in this plugin