Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.43ms] Passed 4 tests
This is a short check of server-side resources used by Frodo Google Maps
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 37.48 ▼4.51 |
Dashboard /wp-admin | 3.36 ▲0.05 | 49.66 ▼4.05 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 53.75 ▲2.53 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 99.27 ▼1.77 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.07 ▲0.61 |
Google Maps /wp-admin/edit.php?post_type=frodo_google_map | 3.32 | 40.88 |
Add New /wp-admin/post-new.php?post_type=frodo_google_map | 3.33 | 51.75 |
Setting /wp-admin/edit.php?post_type=frodo_google_map&page=frodo_google_map_setting | 3.23 | 35.92 |
Location Markers /wp-admin/edit-tags.php?taxonomy=location-marker&post_type=frodo_google_map | 3.30 | 39.65 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
GOOGLE_MAP_API_KEY |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Frodo Google Maps
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲97 | 13.27 ▼0.93 | 4.56 ▲2.61 | 43.07 ▼1.67 |
Dashboard /wp-admin | 2,246 ▲58 | 4.88 ▼0.98 | 102.89 ▼16.16 | 40.22 ▼4.42 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 2.01 ▼0.00 | 40.90 ▲1.10 | 36.40 ▲0.52 |
Add New Post /wp-admin/post-new.php | 1,571 ▲57 | 18.30 ▲0.92 | 643.97 ▼51.57 | 63.68 ▲2.61 |
Media Library /wp-admin/upload.php | 1,431 ▲43 | 4.29 ▲0.13 | 99.75 ▼18.84 | 45.38 ▼2.37 |
Google Maps /wp-admin/edit.php?post_type=frodo_google_map | 1,105 | 1.94 | 36.98 | 32.49 |
Add New /wp-admin/post-new.php?post_type=frodo_google_map | 1,751 | 2.75 | 64.29 | 106.63 |
Setting /wp-admin/edit.php?post_type=frodo_google_map&page=frodo_google_map_setting | 812 | 2.08 | 26.27 | 26.12 |
Location Markers /wp-admin/edit-tags.php?taxonomy=location-marker&post_type=frodo_google_map | 1,746 | 3.40 | 50.90 | 42.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- GOOGLE_MAP_API_KEY
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)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function FrodoGoogleMaps\\plugin_dir_url() in wp-content/plugins/frodo-google-maps/frodo-google-maps.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function FrodoGoogleMaps\\includes\\add_action() in wp-content/plugins/frodo-google-maps/includes/GoogleMapPostType.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function FrodoGoogleMaps\\includes\\add_shortcode() in wp-content/plugins/frodo-google-maps/includes/ShortCode.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function FrodoGoogleMaps\\includes\\add_action() in wp-content/plugins/frodo-google-maps/includes/LocationMarkerTermMeta.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function FrodoGoogleMaps\\includes\\add_action() in wp-content/plugins/frodo-google-maps/includes/Setting.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function FrodoGoogleMaps\\includes\\add_action() in wp-content/plugins/frodo-google-maps/includes/EnqueueAssets.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function FrodoGoogleMaps\\includes\\add_action() in wp-content/plugins/frodo-google-maps/includes/MetaBox.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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
These attributes need your attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
- Screenshots: Add descriptions for screenshots #1, #2, #3 in frodo-google-maps/assets to your readme.txt
frodo-google-maps/frodo-google-maps.php Passed 13 tests
This is the main PHP file of "Frodo Google Maps" version 2.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
46 characters long description:
A Simple Plugin that helps to CRUD Google Maps
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 plugin1,039 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 196 | 181 | 654 |
JavaScript | 8 | 80 | 48 | 319 |
CSS | 4 | 3 | 14 | 63 |
SVG | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 14.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 3.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 80.00% |
▷ Protected methods | 5 | 20.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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