Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.43ms] Passed 4 tests
This is a short check of server-side resources used by SULly
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.70 ▼6.81 |
Dashboard /wp-admin | 3.32 ▼0.02 | 53.19 ▼12.27 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 48.67 ▼2.33 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 88.57 ▼16.31 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 41.38 ▲7.82 |
SULly /wp-admin/index.php?page=SULlyDashboard | 3.29 | 34.93 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 12 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_SULly |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
SULly |
widget_recent-posts |
can_compress_scripts |
SULly_System_Settings |
SULly_DBVersion |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for SULly
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,878 ▲132 | 14.76 ▲0.59 | 1.94 ▲0.02 | 42.38 ▼4.59 |
Dashboard /wp-admin | 2,284 ▲81 | 4.82 ▼1.03 | 112.27 ▲6.83 | 44.67 ▲0.52 |
Posts /wp-admin/edit.php | 2,108 ▲11 | 1.99 ▼0.06 | 36.44 ▼1.38 | 40.34 ▲3.10 |
Add New Post /wp-admin/post-new.php | 1,555 ▲24 | 23.53 ▲0.43 | 679.57 ▼1.77 | 58.44 ▼0.94 |
Media Library /wp-admin/upload.php | 1,408 ▲11 | 4.21 ▼0.02 | 100.01 ▼3.67 | 44.57 ▲1.24 |
SULly /wp-admin/index.php?page=SULlyDashboard | 902 | 2.02 | 25.83 | 25.96 |
SULly /wp-admin/sully.php | 26 | 0.44 | 0.08 | 13.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie tables detected upon uninstall: 1 table
- wp_SULly
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- SULly
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- SULly_System_Settings
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function SULlyUpdateFails() in wp-content/plugins/sully/includes/widget.dashboard.php:5
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/sully/includes/page.dashboard.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/sully/includes/page.settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function SULlyUpdateFails() in wp-content/plugins/sully/includes/page.dashboard.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/sully/ToolStack-WP-Utilities.class.php:33
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/sully.php
- > Network (severe)
wp-admin/sully.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
1 plugin tags: admin updates log
sully/sully.php 92% from 13 tests
The principal PHP file in "SULly" v. 4.2.1 is loaded by WordPress automatically on each request
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 215 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin1,391 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 376 | 300 | 1,095 |
CSS | 2 | 17 | 25 | 296 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 60.00 |
▷ Minimum class complexity | 60.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.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 | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 96.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.70% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.15MB with 0.10MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo-250.png | 157.05KB | 57.13KB | ▼ 63.62% |