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.16MB] [CPU: ▼7.01ms] Passed 4 tests
This is a short check of server-side resources used by WP-Ultimate-Map
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 40.24 ▼3.18 |
Dashboard /wp-admin | 3.48 ▲0.18 | 51.67 ▼0.05 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 50.35 ▼7.91 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 86.17 ▼15.31 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 33.24 ▼1.63 |
Add New /wp-admin/post-new.php?post_type=place | 3.59 | 65.87 |
Places /wp-admin/edit.php?post_type=place | 3.46 | 43.36 |
Google Map settings /wp-admin/options-general.php?page=wpgl-settings | 3.35 | 32.29 |
Add New /wp-admin/post-new.php?post_type=route | 3.51 | 53.34 |
Markers /wp-admin/edit-tags.php?taxonomy=marker&post_type=place | 3.37 | 35.68 |
Route Types /wp-admin/edit-tags.php?taxonomy=route_taxo&post_type=route | 3.37 | 35.70 |
Route By /wp-admin/edit-tags.php?taxonomy=route_by&post_type=place | 3.37 | 34.97 |
Routes /wp-admin/edit.php?post_type=route | 3.46 | 45.09 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 27 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
marker_children |
Browser metrics Passed 4 tests
An overview of browser requirements for WP-Ultimate-Map
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,023 ▲262 | 14.80 ▲0.39 | 1.71 ▼0.02 | 46.46 ▲5.11 |
Dashboard /wp-admin | 2,423 ▲246 | 6.33 ▲0.75 | 113.68 ▲23.03 | 37.25 ▼5.44 |
Posts /wp-admin/edit.php | 2,348 ▲248 | 3.50 ▲1.55 | 50.20 ▲9.51 | 32.78 ▼6.40 |
Add New Post /wp-admin/post-new.php | 1,600 ▲225 | 23.82 ▲4.80 | 663.74 ▲122.19 | 37.16 ▼34.84 |
Media Library /wp-admin/upload.php | 1,494 ▲91 | 4.22 ▲0.01 | 86.98 ▼14.65 | 46.47 ▲5.61 |
Add New /wp-admin/post-new.php?post_type=place | 2,660 | 9.62 | 286.29 | 193.28 |
Places /wp-admin/edit.php?post_type=place | 1,298 | 3.59 | 49.47 | 28.61 |
Google Map settings /wp-admin/options-general.php?page=wpgl-settings | 1,847 | 7.62 | 137.63 | 75.50 |
Add New /wp-admin/post-new.php?post_type=route | 2,597 | 9.41 | 235.46 | 126.20 |
Markers /wp-admin/edit-tags.php?taxonomy=marker&post_type=place | 1,549 | 3.50 | 43.55 | 30.99 |
Route Types /wp-admin/edit-tags.php?taxonomy=route_taxo&post_type=route | 1,651 | 3.86 | 52.12 | 30.22 |
Route By /wp-admin/edit-tags.php?taxonomy=route_by&post_type=place | 1,645 | 3.80 | 56.50 | 30.14 |
Routes /wp-admin/edit.php?post_type=route | 1,301 | 3.43 | 48.78 | 26.76 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- marker_children
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=wpgl-settings
- > Notice in wp-content/plugins/wp-ultimate-map/admin/class-admin.php+37
Undefined variable: focus_point
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=route_by&post_type=place
- > Notice in wp-content/plugins/wp-ultimate-map/admin/post-types/place-marker.php+276
Trying to access array offset on value of type int
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 fix the following
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-ultimate-map/wp-ultimate-map.php on line 13
- > PHP Notice
Undefined variable: select_all_routes in wp-content/plugins/wp-ultimate-map/view/view.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/wp-ultimate-map/admin/post-types/place-route.php:11
- > PHP Fatal error
Uncaught Error: Class 'CPT' not found in wp-content/plugins/wp-ultimate-map/src/register-post-types.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/wp-ultimate-map/admin/post-types/place-marker.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/wp-ultimate-map/wp-ultimate-map.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function get_terms() in wp-content/plugins/wp-ultimate-map/view/view.php:20
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-ultimate-map/wp-ultimate-map.php on line 14
- > PHP Notice
Undefined variable: select_all_places in wp-content/plugins/wp-ultimate-map/view/view.php on line 3
- > PHP Warning
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)
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== wp-ultimate-map ===
) - Screenshots: These screenshots have no corresponding images in /assets: #1 (Pop up on load of your website to promote your offers to users.), #2 (Display the Promotion bar or Notification bar at the top of your page), #3 (Display the Promotion bar or Notification bar at the top of your page), #4 (Left Floating promotion area for your page), #5 (Enable Your promotion bar and Popup from your administration panel.), #6 (Align you promotion bar at particular side of your website), #7 (Set the contents of your promotion bar.), #8 (Set catchy colors for your promotion or notifications.), #9 (View Visitors Statistics to manage your promotion)
wp-ultimate-map/wp-ultimate-map.php 85% from 13 tests
The main file in "WP-Ultimate-Map" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: A good plugin description is longer than 10 characters (currently 0 characters long)
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
Success! There were no dangerous files found in this plugin2,160 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 415 | 566 | 1,384 |
JavaScript | 2 | 73 | 21 | 534 |
CSS | 2 | 12 | 5 | 242 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 21.57 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 3.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 2 | 3.85% |
▷ Public methods | 51 | 98.08% |
▷ Protected methods | 1 | 1.92% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 10 | 76.92% |
▷ Anonymous functions | 3 | 23.08% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
PNG images were not found in this plugin