Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/vivio-swift/vivio-swift.php+59
Non-static method Vivio_Swift_Config::get_instance() should not be called statically
Server metrics [RAM: ▼1.90MB] [CPU: ▼59.25ms] Passed 4 tests
Server-side resources used by Vivio Swift
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.10 ▼1.36 | 4.91 ▼36.55 |
Dashboard /wp-admin | 2.12 ▼1.22 | 5.60 ▼52.55 |
Posts /wp-admin/edit.php | 2.13 ▼1.23 | 6.36 ▼41.29 |
Add New Post /wp-admin/post-new.php | 2.13 ▼3.77 | 6.12 ▼106.59 |
Media Library /wp-admin/upload.php | 2.13 ▼1.11 | 5.54 ▼29.08 |
Dashboard /wp-admin/admin.php?page=vivio-swift | 2.13 | 5.40 |
Exclusions /wp-admin/admin.php?page=vivio-swift-exclusions | 2.13 | 6.77 |
Cache /wp-admin/admin.php?page=vivio-swift-cache | 2.13 | 4.84 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 57 new files
Database: no new tables, 7 new options
New WordPress options |
---|
vivio_swift_configs |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Vivio Swift: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲64 | 13.33 ▼1.04 | 4.99 ▲2.98 | 42.49 ▼5.16 |
Dashboard /wp-admin | 2,238 ▲50 | 5.86 ▼0.03 | 109.40 ▲0.05 | 40.90 ▲2.47 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.05 ▼0.00 | 34.94 ▼3.34 | 36.18 ▲0.84 |
Add New Post /wp-admin/post-new.php | 1,563 ▲44 | 23.41 ▼0.03 | 672.54 ▼15.82 | 57.33 ▼7.33 |
Media Library /wp-admin/upload.php | 1,426 ▲35 | 4.22 ▼0.04 | 95.17 ▼2.56 | 42.38 ▼1.00 |
Dashboard /wp-admin/admin.php?page=vivio-swift | 1,127 | 4.73 | 49.44 | 27.64 |
Exclusions /wp-admin/admin.php?page=vivio-swift-exclusions | 1,070 | 4.66 | 42.74 | 26.66 |
Cache /wp-admin/admin.php?page=vivio-swift-cache | 990 | 4.77 | 43.58 | 22.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/vivio-swift/vivio-swift.php+59
Non-static method Vivio_Swift_Config::get_instance() should not be called statically
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vivio-swift-cache
- > Deprecated in wp-content/plugins/vivio-swift/vivio-swift.php+59
Non-static method Vivio_Swift_Config::get_instance() should not be called statically
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 take a closer look at the following
- 11× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Minify' not found in wp-content/plugins/vivio-swift/lib/minify/JS.php:24
- > PHP Fatal error
Uncaught Error: Class 'Vivio_Swift_Async_Request' not found in wp-content/plugins/vivio-swift/classes/vivio-swift-utility-bgproc.php:6
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exception' not found in wp-content/plugins/vivio-swift/lib/minify/Exceptions/BasicException.php:21
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Minify' not found in wp-content/plugins/vivio-swift/lib/minify/CSS.php:29
- > PHP Fatal error
Uncaught Error: Class 'Vivio_Swift_Admin_Messages' not found in wp-content/plugins/vivio-swift/admin/vivio-swift-cache-menu.php:3
- > PHP Fatal error
Uncaught Error: Class 'Vivio_Swift_Admin_Messages' not found in wp-content/plugins/vivio-swift/admin/vivio-swift-compress-menu.php:3
- > PHP Fatal error
Uncaught Error: Class 'Vivio_Swift_Admin_Messages' not found in wp-content/plugins/vivio-swift/admin/vivio-swift-exclusions-menu.php:3
- > PHP Fatal error
Uncaught Error: Class 'Vivio_Swift_Admin_Messages' not found in wp-content/plugins/vivio-swift/admin/vivio-swift-dashboard-menu.php:3
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exceptions\\BasicException' not found in wp-content/plugins/vivio-swift/lib/minify/Exceptions/IOException.php:19
- > PHP Fatal error
Uncaught Error: Class 'Vivio_Swift_Background_Process' not found in wp-content/plugins/vivio-swift/classes/vivio-swift-proc-preload.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: faster, optimize, performance, accelerate, cache
vivio-swift/vivio-swift.php 92% from 13 tests
The main PHP file in "Vivio Swift" ver. 2020040301... adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Version: The version number should only use digits and periods (ex. "1.0.3" instead of "2020040301...")
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
No dangerous file extensions were detected6,716 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 40 | 1,274 | 2,136 | 6,291 |
CSS | 1 | 17 | 2 | 242 |
JavaScript | 2 | 11 | 11 | 101 |
SVG | 1 | 0 | 0 | 82 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 21.32 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 40 | |
▷ Abstract classes | 6 | 15.00% |
▷ Concrete classes | 34 | 85.00% |
▷ Final classes | 0 | 0.00% |
Methods | 343 | |
▷ Static methods | 64 | 18.66% |
▷ Public methods | 289 | 84.26% |
▷ Protected methods | 51 | 14.87% |
▷ Private methods | 3 | 0.87% |
Functions | 13 | |
▷ Named functions | 1 | 7.69% |
▷ Anonymous functions | 12 | 92.31% |
Constants | 25 | |
▷ Global constants | 24 | 96.00% |
▷ Class constants | 1 | 4.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/plugin-icon.png | 0.47KB | 0.56KB | 0.00% |