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.12MB] [CPU: ▼13.19ms] Passed 4 tests
Server-side resources used by PlacePress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 41.54 ▲1.61 |
Dashboard /wp-admin | 3.62 ▲0.27 | 50.33 ▼12.01 |
Posts /wp-admin/edit.php | 3.74 ▲0.39 | 50.82 ▲7.25 |
Add New Post /wp-admin/post-new.php | 5.46 ▼0.43 | 55.43 ▼48.93 |
Media Library /wp-admin/upload.php | 3.54 ▲0.31 | 38.03 ▲6.59 |
PlacePress /wp-admin/options-general.php?page=placepress | 3.51 | 33.60 |
Location Types /wp-admin/edit-tags.php?taxonomy=location_types&post_type=locations | 3.66 | 34.00 |
Tour Types /wp-admin/edit-tags.php?taxonomy=tour_types&post_type=tours | 3.66 | 35.16 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=tours | 3.66 | 36.83 |
All Locations /wp-admin/edit.php?post_type=locations | 3.62 | 39.74 |
Add New /wp-admin/post-new.php?post_type=tours | 5.46 | 50.05 |
Add New /wp-admin/post-new.php?post_type=locations | 5.46 | 52.15 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=locations | 3.66 | 37.07 |
All Tours /wp-admin/edit.php?post_type=tours | 3.62 | 39.45 |
Server storage [IO: ▲3.91MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 76 new files
Database: no new tables, 23 new options
New WordPress options |
---|
widget_recent-posts |
default_map_type |
theysaidso_admin_options |
widget_theysaidso_widget |
mapbox_satellite |
force_front_page |
widget_placepress_widget |
maki_markers |
default_zoom |
enable_location_archive_map |
... |
Browser metrics Passed 4 tests
Checking browser requirements for PlacePress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,880 ▲134 | 14.17 ▼0.26 | 1.77 ▲0.13 | 42.70 ▼1.17 |
Dashboard /wp-admin | 2,283 ▲112 | 5.63 ▲0.10 | 93.35 ▲7.60 | 42.26 ▲4.71 |
Posts /wp-admin/edit.php | 2,174 ▲77 | 2.03 ▲0.03 | 34.10 ▼2.48 | 36.80 ▲5.68 |
Add New Post /wp-admin/post-new.php | 6,278 ▲4,741 | 19.36 ▲1.04 | 881.49 ▲293.67 | 37.85 ▼29.64 |
Media Library /wp-admin/upload.php | 1,474 ▲80 | 4.22 ▲0.03 | 92.11 ▼5.38 | 44.86 ▲1.67 |
PlacePress /wp-admin/options-general.php?page=placepress | 1,380 | 2.52 | 55.62 | 52.02 |
Location Types /wp-admin/edit-tags.php?taxonomy=location_types&post_type=locations | 1,348 | 2.12 | 25.40 | 26.95 |
Tour Types /wp-admin/edit-tags.php?taxonomy=tour_types&post_type=tours | 1,348 | 2.12 | 26.75 | 29.77 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=tours | 1,393 | 2.12 | 27.11 | 28.22 |
All Locations /wp-admin/edit.php?post_type=locations | 1,216 | 2.57 | 34.34 | 28.26 |
Add New /wp-admin/post-new.php?post_type=tours | 6,316 | 21.00 | 880.17 | 33.72 |
Add New /wp-admin/post-new.php?post_type=locations | 6,328 | 21.09 | 735.34 | 35.42 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=locations | 1,393 | 2.25 | 25.87 | 30.20 |
All Tours /wp-admin/edit.php?post_type=tours | 1,216 | 2.60 | 36.17 | 29.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 23 options
- maki_markers
- maki_markers_color
- default_latitude
- enable_location_types_map
- marker_clustering
- widget_theysaidso_widget
- default_map_type
- force_front_page
- widget_placepress_widget
- enable_tours
- ...
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=locations
- > User deprecated in wp-includes/functions.php+5828
Hook block_categories is deprecated since version 5.8.0! Use block_categories_all instead.
SRP Passed 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
The SRP test was a success
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 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
placepress/placepress.php 85% from 13 tests
The principal PHP file in "PlacePress" v. 1.4.3 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 154 characters long)
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin31,299 lines of code in 51 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 17 | 5,877 | 7,640 | 21,187 |
JSON | 2 | 0 | 0 | 7,420 |
PHP | 16 | 165 | 240 | 1,244 |
Sass | 9 | 62 | 6 | 730 |
CSS | 6 | 63 | 28 | 700 |
Markdown | 1 | 12 | 0 | 18 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 51 | |
▷ Named functions | 50 | 98.04% |
▷ Anonymous functions | 1 | 1.96% |
Constants | 9 | |
▷ Global constants | 9 | 100.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
7 compressed PNG files occupy 0.08MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
javascripts/leaflet@1.9.3/images/layers-2x.png | 1.23KB | 1.67KB | 0.00% |
javascripts/leaflet@1.9.3/images/layers.png | 0.68KB | 1.05KB | 0.00% |
javascripts/leaflet@1.9.3/images/marker-shadow.png | 0.60KB | 1.16KB | 0.00% |
assets/icon-128x128.png | 21.36KB | 6.76KB | ▼ 68.35% |
javascripts/leaflet@1.9.3/images/marker-icon.png | 1.43KB | 1.55KB | 0.00% |