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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.46ms] Passed 4 tests
A check of server-side resources used by Easy Listings Map
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 38.63 ▲0.19 |
Dashboard /wp-admin | 3.35 ▼0.00 | 48.27 ▼16.18 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 52.26 ▼0.10 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 91.67 ▲2.24 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 40.67 ▲3.54 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 108 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
asana_active_free_plugin |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Listings Map
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.25 ▼0.11 | 1.67 ▲0.01 | 41.60 ▲2.36 |
Dashboard /wp-admin | 2,201 ▲24 | 5.55 ▼0.05 | 89.52 ▼3.62 | 40.08 ▼0.86 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.95 ▼0.01 | 39.07 ▼1.05 | 36.19 ▼3.32 |
Add New Post /wp-admin/post-new.php | 1,536 ▼1 | 23.24 ▲5.13 | 674.98 ▲35.17 | 52.48 ▼12.58 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.23 ▲0.04 | 101.97 ▼6.56 | 45.81 ▲0.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Too many tags (19 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5, #6, #7 in easy-listings-map/assets to your readme.txt
easy-listings-map/easy_listings_map.php 85% from 13 tests
The entry point to "Easy Listings Map" version 1.2.4 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("easy-listings-map.php" instead of "easy_listings_map.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
No dangerous file extensions were detected11,896 lines of code in 67 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 35 | 30 | 6,838 |
PHP | 37 | 591 | 1,949 | 2,713 |
JavaScript | 20 | 627 | 1,270 | 2,345 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 11.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 32 | |
▷ Abstract classes | 1 | 3.12% |
▷ Concrete classes | 31 | 96.88% |
▷ Final classes | 0 | 0.00% |
Methods | 202 | |
▷ Static methods | 17 | 8.42% |
▷ Public methods | 187 | 92.57% |
▷ Protected methods | 7 | 3.47% |
▷ Private methods | 8 | 3.96% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
33 PNG files occupy 0.06MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/help.png | 0.30KB | 0.32KB | 0.00% |
public/images/map/m5.png | 6.68KB | 5.10KB | ▼ 23.66% |
admin/images/markers/current/land.png | 1.17KB | 0.92KB | ▼ 21.27% |
public/images/map/m2.png | 3.18KB | 2.36KB | ▼ 25.77% |
admin/images/markers/offmarket/commercial.png | 0.87KB | 0.66KB | ▼ 23.42% |