Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.79MB] [CPU: ▲4.84ms] Passed 4 tests
Analyzing server-side resources used by Fallback
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.30 ▲0.84 | 47.33 ▲8.92 |
Dashboard /wp-admin | 4.13 ▲0.83 | 57.39 ▲8.24 |
Posts /wp-admin/edit.php | 4.18 ▲0.83 | 51.69 ▲4.49 |
Add New Post /wp-admin/post-new.php | 6.65 ▲0.76 | 89.23 ▼2.31 |
Media Library /wp-admin/upload.php | 3.99 ▲0.76 | 46.09 ▲14.02 |
Server storage [IO: ▲0.93MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 213 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Fallback: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲32 | 14.35 ▲0.04 | 1.95 ▲0.05 | 43.73 ▲0.15 |
Dashboard /wp-admin | 2,202 ▲22 | 5.63 ▼0.02 | 92.32 ▼2.01 | 41.38 ▲0.64 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.96 ▲0.01 | 34.71 ▼4.19 | 34.06 ▲0.44 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.49 ▲0.55 | 671.02 ▲2.27 | 48.89 ▼4.36 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.22 ▲0.09 | 106.67 ▲1.19 | 46.23 ▲3.85 |
Fallback /wp-admin/wordpress-fallback.php | 26 | 0.42 | 0.10 | 14.29 |
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 detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 72× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Dotenv\\Repository\\Adapter\\WriterInterface' not found in wp-content/plugins/fallback/vendor/vlucas/phpdotenv/src/Repository/Adapter/ImmutableWriter.php:7
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\TaskQueueInterface' not found in wp-content/plugins/fallback/vendor/guzzlehttp/promises/src/TaskQueue.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Dotenv\\Repository\\Adapter\\AdapterInterface' not found in wp-content/plugins/fallback/vendor/vlucas/phpdotenv/src/Repository/Adapter/PutenvAdapter.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/fallback/vendor/guzzlehttp/psr7/src/LimitStream.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Dotenv\\Parser\\ParserInterface' not found in wp-content/plugins/fallback/vendor/vlucas/phpdotenv/src/Parser/Parser.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Dotenv\\Exception\\ExceptionInterface' not found in wp-content/plugins/fallback/vendor/vlucas/phpdotenv/src/Exception/InvalidEncodingException.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/fallback/vendor/guzzlehttp/psr7/src/LazyOpenStream.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Dotenv\\Store\\StoreInterface' not found in wp-content/plugins/fallback/vendor/vlucas/phpdotenv/src/Store/FileStore.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/fallback/vendor/guzzlehttp/psr7/src/PumpStream.php:16
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Client\\ClientExceptionInterface' not found in wp-content/plugins/fallback/vendor/psr/http-client/src/NetworkExceptionInterface.php:14
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/wordpress-fallback.php
- > Network (severe)
wp-admin/wordpress-fallback.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: Please a description for screenshot #1 in fallback/assets to your readme.txt
fallback/wordpress-fallback.php 85% from 13 tests
Analyzing the main PHP file in "Fallback" version 1.0.2
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("fallback.php" instead of "wordpress-fallback.php")
- Domain Path: The domain path folder does not exist ("/languages")
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
Success! There were no dangerous files found in this plugin18,863 lines of code in 196 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 162 | 2,601 | 7,566 | 14,108 |
Markdown | 16 | 1,097 | 0 | 3,395 |
JSON | 14 | 0 | 0 | 1,232 |
XML | 2 | 0 | 0 | 103 |
make | 2 | 11 | 0 | 25 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 10.85 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 153.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 23 | |
Interfaces | 28 | |
Traits | 3 | |
Classes | 111 | |
▷ Abstract classes | 2 | 1.80% |
▷ Concrete classes | 109 | 98.20% |
▷ Final classes | 49 | 44.95% |
Methods | 1,006 | |
▷ Static methods | 204 | 20.28% |
▷ Public methods | 834 | 82.90% |
▷ Protected methods | 10 | 0.99% |
▷ Private methods | 162 | 16.10% |
Functions | 246 | |
▷ Named functions | 111 | 45.12% |
▷ Anonymous functions | 135 | 54.88% |
Constants | 71 | |
▷ Global constants | 5 | 7.04% |
▷ Class constants | 66 | 92.96% |
▷ Public constants | 56 | 84.85% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin