Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼9.64ms] Passed 4 tests
A check of server-side resources used by Sugar Calendar - Google Maps
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.43 ▼0.03 | 25.62 ▼18.97 |
Dashboard /wp-admin | 3.35 ▲0.05 | 48.02 ▼4.78 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 50.46 ▼2.77 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 89.85 ▼12.04 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 40.63 ▲2.24 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Sugar Calendar - Google Maps
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,465 ▼281 | 13.44 ▼1.24 | 0.54 ▼1.50 | 18.15 ▼24.40 |
Dashboard /wp-admin | 2,206 ▲18 | 4.87 ▼0.04 | 119.08 ▲5.87 | 39.98 ▼4.04 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▼0.04 | 41.08 ▲1.18 | 32.22 ▼4.54 |
Add New Post /wp-admin/post-new.php | 1,533 ▲13 | 23.09 ▼0.17 | 680.25 ▲18.51 | 65.66 ▼2.75 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.23 ▼0.08 | 113.65 ▲0.89 | 49.19 ▼1.00 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
The SRP test was a success
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 on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: A description for screenshot #3 is required in sugar-event-calendar-google-maps/assets to your readme.txt
sugar-event-calendar-google-maps/sugar-calendar-maps.php 85% from 13 tests
The principal PHP file in "Sugar Calendar - Google Maps" v. 1.4.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.0" instead of "5.2")
- Main file name: Name the main plugin file the same as the plugin slug ("sugar-event-calendar-google-maps.php" instead of "sugar-calendar-maps.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin255 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 102 | 180 | 255 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
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 | 17 | |
▷ Named functions | 17 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected