Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.11ms] Passed 4 tests
Server-side resources used by Psyco Maps
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 46.56 ▲2.21 |
Dashboard /wp-admin | 3.34 ▲0.03 | 48.41 ▼6.96 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 52.58 ▼8.52 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 86.90 ▼6.18 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.12 ▲1.21 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Psyco Maps
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲85 | 13.92 ▼0.50 | 27.65 ▲25.31 | 35.08 ▼16.30 |
Dashboard /wp-admin | 2,208 ▲37 | 5.67 ▲0.06 | 94.60 ▼17.49 | 82.28 ▲33.65 |
Posts /wp-admin/edit.php | 2,120 ▲17 | 3.66 ▲1.63 | 79.23 ▲27.99 | 40.29 ▲0.35 |
Add New Post /wp-admin/post-new.php | 1,715 ▲170 | 25.27 ▲2.09 | 742.49 ▲64.22 | 38.64 ▼40.53 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.25 ▲0.02 | 100.79 ▼13.94 | 69.95 ▲14.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
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
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/psyco-maps/include/marker-maps.php
- > /wp-content/plugins/psyco-maps/include/create-maps_old.php
- 75× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: address in wp-content/plugins/psyco-maps/include/create-maps_old.php on line 3
- > PHP Notice
Undefined variable: a in wp-content/plugins/psyco-maps/include/marker-maps.php on line 3
- > PHP Notice
Undefined variable: rand in wp-content/plugins/psyco-maps/include/create-maps.php on line 3
- > PHP Notice
Undefined variable: a in wp-content/plugins/psyco-maps/include/marker-maps.php on line 1
- > PHP Notice
Undefined variable: a in wp-content/plugins/psyco-maps/include/marker-maps.php on line 13
- > PHP Notice
Undefined variable: maps_id in wp-content/plugins/psyco-maps/include/create-maps_old.php on line 30
- > PHP Notice
Undefined variable: maps_id in wp-content/plugins/psyco-maps/include/create-maps_old.php on line 1
- > PHP Notice
Undefined variable: description in wp-content/plugins/psyco-maps/include/create-maps_old.php on line 35
- > PHP Notice
Undefined variable: lat in wp-content/plugins/psyco-maps/include/marker-maps.php on line 2
- > PHP Notice
Undefined variable: rand in wp-content/plugins/psyco-maps/include/create-maps.php on line 7
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Donate link: Invalid URI ("")
- Screenshots: A description for screenshot #2 is required in psyco-maps/assets to your readme.txt
- Tags: There are too many tags (12 tag instead of maximum 10)
psyco-maps/psyco-maps.php 92% from 13 tests
This is the main PHP file of "Psyco Maps" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
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
Good job! No executable or dangerous file extensions detected706 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 60 | 11 | 369 |
CSS | 2 | 41 | 13 | 217 |
JavaScript | 1 | 31 | 3 | 120 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
map.png | 0.74KB | 0.79KB | 0.00% |