Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼1.43ms] Passed 4 tests
This is a short check of server-side resources used by YumJam Simple Map Shortcode
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 39.03 ▼1.21 |
Dashboard /wp-admin | 3.39 ▲0.08 | 47.77 ▼3.76 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 50.06 ▼0.48 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 98.17 ▲0.59 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.68 ▼0.26 |
YumJam Map /wp-admin/options-general.php?page=sm_options | 3.29 | 33.89 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
sm_load_google_script |
sm_enable |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
sm_google_maps_api_key |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for YumJam Simple Map Shortcode
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲134 | 13.63 ▼0.74 | 4.79 ▲2.71 | 39.30 ▼7.95 |
Dashboard /wp-admin | 2,217 ▲29 | 4.86 ▲0.03 | 98.96 ▼11.24 | 36.59 ▼9.11 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.03 ▲0.02 | 38.73 ▼1.64 | 32.24 ▼3.91 |
Add New Post /wp-admin/post-new.php | 1,530 ▼4 | 18.79 ▼4.53 | 675.87 ▼27.76 | 59.95 ▲2.27 |
Media Library /wp-admin/upload.php | 1,396 ▲5 | 4.21 ▲0.01 | 98.22 ▼7.31 | 42.48 ▼5.44 |
YumJam Map /wp-admin/options-general.php?page=sm_options | 1,099 | 2.06 | 25.52 | 34.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: google map, map pin, simple map, map api, contact page...
yumjam-simple-map-shortcode/yumjam-simple-map-shortcode.php Passed 13 tests
"YumJam Simple Map Shortcode" version 1.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
72 characters long description:
Display a simple Maps via a WordPress shortcode posts, pages or widgets.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin358 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 61 | 81 | 344 |
JavaScript | 2 | 4 | 8 | 11 |
CSS | 2 | 1 | 9 | 3 |
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.38 |
Average class complexity | 37.00 |
▷ Minimum class complexity | 37.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 3.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin