Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.73ms] Passed 4 tests
Analyzing server-side resources used by Simple Travel Map
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.12 ▼4.77 |
Dashboard /wp-admin | 3.35 ▲0.04 | 47.60 ▼8.60 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.59 ▼1.53 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 97.81 ▼4.03 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.24 ▲1.66 |
Simple Travel Map /wp-admin/options-general.php?page=simple-travel-map-options | 3.21 | 32.96 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
simple-travel-map-settings |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Travel Map
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,867 ▲132 | 15.26 ▲0.53 | 19.05 ▲17.19 | 38.80 ▼9.87 |
Dashboard /wp-admin | 2,213 ▲24 | 4.84 ▼0.11 | 110.05 ▼4.46 | 44.24 ▼2.65 |
Posts /wp-admin/edit.php | 2,096 ▲10 | 1.99 ▼0.01 | 39.60 ▲4.10 | 34.55 ▼0.00 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.28 ▼0.14 | 630.41 ▼23.99 | 62.11 ▲9.44 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.25 ▲0.05 | 100.23 ▼6.60 | 45.29 ▲0.47 |
Simple Travel Map /wp-admin/options-general.php?page=simple-travel-map-options | 949 | 2.03 | 22.53 | 32.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=simple-travel-map-options
- > Notice in wp-content/plugins/simple-travel-map/simple-travel-map.php+45
Undefined index: save_options
- > GET request to /wp-admin/options-general.php?page=simple-travel-map-options
- > Notice in wp-content/plugins/simple-travel-map/simple-travel-map.php+57
Undefined index: index_locations
SRP 50% from 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
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_deactivation_hook() in wp-content/plugins/simple-travel-map/simple-travel-map.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: travel, google, api, travel map, simpletravelmap...
simple-travel-map/simple-travel-map.php 92% from 13 tests
This is the main PHP file of "Simple Travel Map" version 0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 180 characters long)
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
No dangerous file extensions were detected266 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 73 | 8 | 266 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 9 | |
▷ Named functions | 9 | 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