Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/svn-auto-upgrade/svn-auto-upgrade.php+235
Non-static method SVNAutoUpgrader::getInstance() should not be called statically
Server metrics [RAM: ▼1.90MB] [CPU: ▼51.66ms] Passed 4 tests
Analyzing server-side resources used by SVN Auto Upgrade
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.38 | 4.43 ▼38.43 |
Dashboard /wp-admin | 2.10 ▼1.20 | 6.20 ▼42.61 |
Posts /wp-admin/edit.php | 2.10 ▼1.25 | 6.99 ▼40.72 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.78 | 6.26 ▼84.87 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 6.00 ▼28.79 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by SVN Auto Upgrade
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲62 | 14.48 ▲0.12 | 2.06 ▲0.26 | 41.57 ▼6.46 |
Dashboard /wp-admin | 2,203 ▲14 | 5.91 ▲0.98 | 105.76 ▼14.89 | 36.29 ▼7.68 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 2.03 ▲0.03 | 37.58 ▼1.36 | 28.69 ▼8.31 |
Add New Post /wp-admin/post-new.php | 1,511 ▼23 | 17.54 ▼5.66 | 671.96 ▲44.33 | 53.13 ▼1.95 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.21 ▼0.08 | 96.24 ▼4.39 | 38.21 ▼6.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/svn-auto-upgrade/svn-auto-upgrade.php+235
Non-static method SVNAutoUpgrader::getInstance() should not be called statically
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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 items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/svn-auto-upgrade/svn-auto-upgrade.php:26
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: core, cache burst, upgrade, subversion, update...
svn-auto-upgrade/svn-auto-upgrade.php 92% from 13 tests
The main PHP script in "SVN Auto Upgrade" version 1.2 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 312 characters long)
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 detected145 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 27 | 77 | 145 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 31.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 3.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 13 | |
▷ Static methods | 11 | 84.62% |
▷ Public methods | 11 | 84.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 15.38% |
Functions | 2 | |
▷ Named functions | 2 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin