Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.96ms] Passed 4 tests
Server-side resources used by EZGMap
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 44.95 ▲1.40 |
Dashboard /wp-admin | 3.36 ▲0.02 | 54.10 ▼9.95 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 48.49 ▼6.73 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 93.83 ▼4.57 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.19 ▲2.48 |
EZGMaps /wp-admin/options-general.php?page=ezgmaps | 3.23 | 29.92 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
ezgmaps_settings_plugin_activated |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
EZGMap: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.24 ▲0.05 | 1.72 ▲0.10 | 43.62 ▲2.17 |
Dashboard /wp-admin | 2,202 ▲22 | 5.62 ▼0.03 | 90.37 ▲0.26 | 39.24 ▼0.79 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.05 | 36.27 ▼3.94 | 34.90 ▼1.30 |
Add New Post /wp-admin/post-new.php | 6,267 ▲4,730 | 26.02 ▲7.65 | 913.87 ▲288.61 | 60.24 ▼4.95 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.20 ▲0.02 | 112.32 ▲13.04 | 46.83 ▲1.43 |
EZGMaps /wp-admin/options-general.php?page=ezgmaps | 924 | 2.17 | 24.27 | 31.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ezgmaps
- > Notice in wp-content/plugins/ezgmaps/admin/ezgmaps-tswplugin-admin.php+170
Trying to access array offset on value of type bool
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 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: There are too many tags (11 tag instead of maximum 10)
ezgmaps/ezgmaps.php Passed 13 tests
The entry point to "EZGMap" version 1.0.0 is a PHP file that has certain tags in its header comment area
51 characters long description:
Fast and easy way to get Google Maps on your pages.
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
Good job! No executable or dangerous file extensions detected363 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 72 | 171 | 337 |
CSS | 1 | 2 | 5 | 26 |
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.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 | 19 | |
▷ Named functions | 19 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/img-fa-twitter.png | 1.12KB | 0.90KB | ▼ 19.61% |