Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.32MB] [CPU: ▼132.95ms] Passed 4 tests
Analyzing server-side resources used by Novo-Map : your WP posts on custom google maps
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.08 ▲0.36 | 39.62 ▲12.73 |
Dashboard /wp-admin | 3.40 ▲0.34 | 49.57 ▲9.50 |
Posts /wp-admin/edit.php | 3.45 ▲0.34 | 49.86 ▲7.93 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.57 | 105.73 ▼550.64 |
Media Library /wp-admin/upload.php | 3.25 ▲0.25 | 33.82 ▲1.41 |
Novo-Map /wp-admin/admin.php?page=novo-map | 3.84 | 44.91 |
Markers /wp-admin/admin.php?page=novo-map-marker-logo | 3.35 | 39.17 |
Server storage [IO: ▲0.42MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 93 new files
Database: 3 new tables, 2 new options
New tables |
---|
wp_novomap_marker |
wp_novomap_marker_logo |
wp_novomap_gmap |
New WordPress options |
---|
novo-map_infobox_style_default |
widget_novo_map_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Novo-Map : your WP posts on custom google maps
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,162 ▲566 | 18.81 ▲3.26 | 12.64 ▲3.18 | 44.86 ▼5.98 |
Dashboard /wp-admin | 3,335 ▲401 | 8.05 ▲2.12 | 167.17 ▲15.98 | 129.68 ▲16.22 |
Posts /wp-admin/edit.php | 3,161 ▲422 | 4.56 ▲1.87 | 86.61 ▲18.31 | 98.47 ▲10.56 |
Add New Post /wp-admin/post-new.php | 2,711 ▲1,211 | 24.77 ▲6.01 | 437.54 ▲76.56 | 121.02 ▲12.80 |
Media Library /wp-admin/upload.php | 1,933 ▲126 | 5.52 ▲0.50 | 121.35 ▼26.05 | 131.29 ▲7.41 |
Novo-Map /wp-admin/admin.php?page=novo-map | 2,010 | 4.11 | 81.76 | 88.55 |
Markers /wp-admin/admin.php?page=novo-map-marker-logo | 2,745 | 4.06 | 78.82 | 102.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 1 option
- widget_novo_map_widget
Smoke tests 50% 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 | 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 take a closer look at the following
- 23× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/novo-map/includes/class-novo-map-widget.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_js() in wp-content/plugins/novo-map/public/partials/marker-logo-script.php:1
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/novo-map/admin/partials/marker-logo-admin-menu.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/novo-map/gutenberg/partials/novo-map-block.php:1
- > PHP Notice
Undefined variable: show_post_admin_menu in wp-content/plugins/novo-map/admin/partials/post-admin-menu.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_js() in wp-content/plugins/novo-map/public/partials/marker-script.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/novo-map/public/partials/infobox-styles/bgimage-css.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/novo-map/admin/partials/novo-map-widget.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/novo-map/admin/partials/post-admin-menu.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_permalink() in wp-content/plugins/novo-map/public/partials/infobox-styles/default-html.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=novo-map
- > Javascript (severe) in unknown
https://maps.googleapis.com/maps/api/js?v=3.47&key= 154:55 Uncaught Pe: Map: Expected mapDiv of type Element but was passed null.
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
novo-map/novo-map.php Passed 13 tests
Analyzing the main PHP file in "Novo-Map : your WP posts on custom google maps" version 1.1.2
54 characters long description:
Display all your posts and pages on custom google maps
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin20,946 lines of code in 85 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 12,886 |
PHP | 41 | 672 | 1,929 | 3,805 |
JavaScript | 16 | 641 | 898 | 2,758 |
SVG | 22 | 0 | 16 | 808 |
CSS | 3 | 87 | 6 | 365 |
PO File | 1 | 109 | 139 | 324 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 9.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 1.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 253 | |
▷ Static methods | 7 | 2.77% |
▷ Public methods | 247 | 97.63% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 2.37% |
Functions | 31 | |
▷ Named functions | 25 | 80.65% |
▷ Anonymous functions | 6 | 19.35% |
Constants | 10 | |
▷ Global constants | 10 | 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
No PNG images were found in this plugin