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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼4.34ms] Passed 4 tests
A check of server-side resources used by Multiple Map Marker Filter
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 37.46 ▼4.57 |
Dashboard /wp-admin | 3.39 ▲0.08 | 46.57 ▼5.76 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 46.95 ▼0.87 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 85.00 ▼6.15 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 39.50 ▲3.94 |
Map Categories /wp-admin/edit-tags.php?taxonomy=map_category | 3.30 | 36.96 |
New Marker /wp-admin/admin.php?page=addnew_marker | 3.28 | 29.63 |
Map Marker Settings /wp-admin/options-general.php?page=mf_map_filter_settings | 3.28 | 34.54 |
Map Markers /wp-admin/admin.php?page=map-markers | 3.28 | 34.83 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_multiple_map_markers_data |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Multiple Map Marker Filter
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲93 | 13.92 ▼0.35 | 26.00 ▲24.08 | 41.66 ▼2.43 |
Dashboard /wp-admin | 2,235 ▲61 | 5.61 ▲0.05 | 84.04 ▼3.33 | 41.76 ▼4.00 |
Posts /wp-admin/edit.php | 2,154 ▲54 | 2.00 ▼0.14 | 36.92 ▼8.74 | 37.62 ▼4.52 |
Add New Post /wp-admin/post-new.php | 1,557 ▲29 | 23.46 ▲0.45 | 708.08 ▲88.13 | 59.36 ▼2.58 |
Media Library /wp-admin/upload.php | 1,440 ▲46 | 4.23 ▲0.05 | 94.93 ▼5.56 | 42.06 ▼1.68 |
Map Categories /wp-admin/edit-tags.php?taxonomy=map_category | 1,308 | 2.12 | 26.71 | 30.52 |
New Marker /wp-admin/admin.php?page=addnew_marker | 908 | 2.00 | 22.87 | 29.95 |
Map Marker Settings /wp-admin/options-general.php?page=mf_map_filter_settings | 860 | 2.01 | 23.82 | 28.57 |
Map Markers /wp-admin/admin.php?page=map-markers | 837 | 2.03 | 23.51 | 24.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/multiple-map-marker-filter/settings-page-markers.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/multiple-map-marker-filter/settings-page-markers.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
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: maps marker, multiple, multiple marker, category map filter, custom icon maps...
multiple-map-marker-filter/index.php 85% from 13 tests
The principal PHP file in "Multiple Map Marker Filter" v. 1.0 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("multiple-map-marker-filter.php" instead of "index.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 167 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin394 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 71 | 32 | 388 |
JavaScript | 1 | 1 | 0 | 6 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 17 | |
▷ Named functions | 17 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin