Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼143.38ms] Passed 4 tests
Analyzing server-side resources used by Webico Maps Embed Flatsome Addons
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 39.19 ▲17.70 |
Dashboard /wp-admin | 3.06 ▲0.01 | 48.20 ▼2.18 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 49.68 ▲4.12 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 93.22 ▼575.61 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 36.96 ▲0.16 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Webico Maps Embed Flatsome Addons: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲131 | 16.18 ▲0.55 | 10.87 ▲2.13 | 49.80 ▼3.36 |
Dashboard /wp-admin | 2,973 ▲39 | 5.95 ▼0.21 | 138.50 ▼10.38 | 118.38 ▲0.79 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.69 ▼0.12 | 65.83 ▼10.04 | 98.21 ▲2.24 |
Add New Post /wp-admin/post-new.php | 1,500 ▼170 | 18.57 ▼0.71 | 360.26 ▼14.67 | 114.83 ▼4.56 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.00 ▼0.03 | 145.35 ▼21.82 | 125.69 ▼0.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/webico-maps-embed-flatsome-addons/inc/builder/wbc-maps.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/webico-maps-embed-flatsome-addons/inc/shortcodes/wbc-maps.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: webico, flatsome addons
webico-maps-embed-flatsome-addons/wbc-maps-embed.php 69% from 13 tests
The entry point to "Webico Maps Embed Flatsome Addons" version 1.0.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Requires PHP: Required version must match the one declared in readme.txt ("5.6.30" instead of "5.6")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("webico-maps-embed-flatsome-addons.php" instead of "wbc-maps-embed.php")
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
Everything looks great! No dangerous files found in this plugin123 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 17 | 22 | 84 |
SVG | 1 | 0 | 1 | 39 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
No PNG images were found in this plugin