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.01MB] [CPU: ▼295.48ms] Passed 4 tests
This is a short check of server-side resources used by Project Map It
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 61.50 ▲5.54 |
Dashboard /wp-admin | 3.42 ▲0.01 | 35.82 ▼1.58 |
Posts /wp-admin/edit.php | 3.66 ▲0.01 | 38.72 ▼0.72 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 98.74 ▼1,173.93 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 25.79 ▼5.68 |
Map Settings /wp-admin/options-general.php?page=pmi | 3.25 | 24.53 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 1 new option
New WordPress options |
---|
pmi_username |
Browser metrics Passed 4 tests
A check of browser resources used by Project Map It
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,812 ▲58 | 16.24 ▲0.25 | 5.95 ▼0.20 | 2.94 ▲0.28 |
Dashboard /wp-admin | 2,909 ▲22 | 6.32 ▼0.26 | 141.49 ▼3.83 | 168.41 ▲7.78 |
Posts /wp-admin/edit.php | 2,696 ▲8 | 3.43 ▲0.00 | 62.56 ▲1.38 | 139.82 ▼9.39 |
Add New Post /wp-admin/post-new.php | 1,664 ▼47 | 16.90 ▼4.33 | 417.88 ▼33.67 | 148.57 ▼14.12 |
Media Library /wp-admin/upload.php | 1,703 ▲5 | 5.74 ▼0.00 | 142.11 ▼4.87 | 186.65 ▼5.02 |
Map Settings /wp-admin/options-general.php?page=pmi | 1,058 | 2.56 | 53.40 | 124.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 1 option
- pmi_username
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=pmi
- > User deprecated in wp-includes/functions.php+5326
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=pmi
- > User deprecated in wp-includes/functions.php+5326
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/interactive-map-shortcode-for-project-map-it/pmi.php:21
- > PHP Fatal error
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 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Contributors: The plugin contributors field is not present
interactive-map-shortcode-for-project-map-it/pmi.php 77% from 13 tests
"Project Map It" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 337 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("interactive-map-shortcode-for-project-map-it.php" instead of "pmi.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected76 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 10 | 14 | 54 |
Markdown | 1 | 11 | 0 | 22 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
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 | 4 | |
▷ Named functions | 4 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin