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
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼1.70ms] Passed 4 tests
This is a short check of server-side resources used by Interactive Regional Map of Florida
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 45.26 ▲3.78 |
Dashboard /wp-admin | 3.35 ▲0.04 | 46.91 ▼3.90 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 50.24 ▲0.75 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 96.57 ▼3.72 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.78 ▲0.06 |
Server storage [IO: ▲0.77MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 99 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Interactive Regional Map of Florida
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲84 | 13.64 ▼0.76 | 1.72 ▲0.06 | 39.42 ▼0.15 |
Dashboard /wp-admin | 2,226 ▲41 | 5.83 ▲0.93 | 106.72 ▲5.83 | 68.42 ▲26.62 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 1.99 ▲0.00 | 37.40 ▼2.60 | 32.67 ▼4.67 |
Add New Post /wp-admin/post-new.php | 1,538 ▲3 | 23.04 ▼0.29 | 695.28 ▲26.19 | 60.57 ▲3.61 |
Media Library /wp-admin/upload.php | 1,408 ▲17 | 4.10 ▼0.10 | 95.21 ▼17.87 | 75.72 ▲29.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/interactive-map-of-florida/design/map.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/interactive-map-of-florida/flr-map.php:81
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/interactive-map-of-florida/design/admin.php:1
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/interactive-map-of-florida/config.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: florida maps, florida map, interactive florida map plugins, florida map template, interactive florida map...
interactive-map-of-florida/flr-map.php 92% from 13 tests
The main file in "Interactive Regional Map of Florida" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("interactive-map-of-florida.php" instead of "flr-map.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin1,716 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 50 | 7 | 13 | 761 |
PHP | 4 | 27 | 8 | 421 |
CSS | 8 | 20 | 3 | 401 |
SVG | 2 | 0 | 0 | 125 |
HTML | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 90.00% |
▷ Protected methods | 1 | 10.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icons.png | 15.88KB | 5.44KB | ▼ 65.72% |
images/map-icons.png | 3.93KB | 2.40KB | ▼ 38.85% |
images/map-icon.png | 1.27KB | 0.47KB | ▼ 63.15% |
images/florida-premium.png | 14.01KB | 12.94KB | ▼ 7.67% |