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 gracefully, with no errors
Server metrics [RAM: ▼0.18MB] [CPU: ▼17.20ms] Passed 4 tests
An overview of server-side resources used by DMaps
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 43.11 ▼2.58 |
Dashboard /wp-admin | 3.45 ▲0.14 | 47.34 ▼9.88 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 51.73 ▼0.10 |
Add New Post /wp-admin/post-new.php | 4.74 ▼1.15 | 44.57 ▼52.48 |
Media Library /wp-admin/upload.php | 3.38 ▲0.14 | 38.37 ▼3.84 |
DMaps Settings /wp-admin/options-general.php?page=dmaps_settings | 3.34 | 36.25 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
dmaps_version |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for DMaps
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,933 ▲162 | 14.26 ▼0.05 | 32.52 ▲30.58 | 46.08 ▲4.10 |
Dashboard /wp-admin | 2,193 ▲25 | 5.63 ▲0.11 | 86.80 ▼6.70 | 42.33 ▲0.23 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.02 ▲0.07 | 40.42 ▼1.69 | 36.38 ▼1.43 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 22.95 ▼0.33 | 688.06 ▼23.54 | 55.30 ▼5.01 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.26 ▲0.14 | 99.22 ▼15.70 | 40.47 ▼7.57 |
DMaps Settings /wp-admin/options-general.php?page=dmaps_settings | 865 | 2.27 | 32.87 | 24.51 |
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
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- dmaps_version
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (DMaps Shortcode), #2 (DMaps Metabox), #3 (DMaps Settings)
dmaps/dmaps.php Passed 13 tests
This is the main PHP file of "DMaps" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
121 characters long description:
DMaps creates a custom metabox in post types including custom post types. Also you can create maps via [dmaps] shortcode.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin753 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 325 | 100 | 600 |
JavaScript | 3 | 29 | 6 | 87 |
PO File | 1 | 16 | 19 | 50 |
CSS | 1 | 2 | 0 | 16 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 27.25 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 3.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 2 | 5.26% |
▷ Public methods | 36 | 94.74% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.26% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.33MB with 0.20MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 42.99KB | 17.65KB | ▼ 58.94% |
screenshot-1.png | 201.61KB | 74.70KB | ▼ 62.95% |
screenshot-2.png | 96.72KB | 38.99KB | ▼ 59.69% |