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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.99ms] Passed 4 tests
An overview of server-side resources used by TraveledMap Embedded Map
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.98 ▲0.49 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.02 ▼5.27 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.62 ▼2.03 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 82.63 ▼17.16 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.17 ▲3.32 |
Server storage [IO: ▲5.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for TraveledMap Embedded Map
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲75 | 13.55 ▼0.84 | 4.64 ▲2.95 | 37.77 ▼7.50 |
Dashboard /wp-admin | 2,209 ▲26 | 5.86 ▲0.92 | 101.23 ▼12.09 | 42.41 ▼0.66 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.05 | 37.71 ▼1.56 | 32.28 ▼2.13 |
Add New Post /wp-admin/post-new.php | 6,182 ▲4,638 | 19.18 ▼3.97 | 934.77 ▲257.23 | 64.88 ▲3.36 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.21 ▼0.00 | 108.28 ▲5.89 | 47.28 ▼1.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Congratulations! This plugin passed the SRP test
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 errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
8 plugin tags: embedded, blog, trip, map, traveledmap...
traveledmap-embeded-map/plugin.php 85% from 13 tests
The main PHP file in "TraveledMap Embedded Map" ver. 1.0.3 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 145 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("traveledmap-embeded-map.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin7,307 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 7,086 |
JavaScript | 3 | 9 | 27 | 89 |
Sass | 3 | 16 | 1 | 82 |
PHP | 2 | 13 | 56 | 48 |
CSS | 2 | 0 | 0 | 2 |
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.18 |
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 | 4 | |
▷ Named functions | 4 | 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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
11 PNG files occupy 4.16MB with 2.66MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 387.91KB | 114.37KB | ▼ 70.52% |
assets/banner-772x250.png | 111.56KB | 58.17KB | ▼ 47.86% |
trunk/assets/screenshot-1.png | 1,322.05KB | 381.24KB | ▼ 71.16% |
assets/icon-256x256.png | 31.10KB | 11.63KB | ▼ 62.60% |
trunk/assets/screenshot-4.png | 150.60KB | 48.56KB | ▼ 67.75% |