Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.34MB] [CPU: ▼1.45ms] Passed 4 tests
Server-side resources used by WordPress Manutenção
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.33 | 41.40 ▼1.97 |
Dashboard /wp-admin | 3.65 ▲0.34 | 50.46 ▲1.25 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 49.71 ▲4.49 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.34 | 80.50 ▼7.27 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 37.97 ▲2.21 |
Manutenção /wp-admin/options-general.php?page=fswpma_manutencao | 3.48 | 31.78 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 71 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
WordPress Manutenção: 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,793 ▲32 | 14.43 ▲0.17 | 1.78 ▲0.01 | 46.22 ▲3.40 |
Dashboard /wp-admin | 2,202 ▲22 | 5.59 ▼0.07 | 98.07 ▼2.81 | 42.04 ▼1.31 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.02 ▲0.04 | 34.85 ▼1.17 | 30.91 ▼3.56 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.23 ▲0.06 | 652.07 ▼26.07 | 52.09 ▼16.61 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.19 ▲0.03 | 98.48 ▲0.61 | 44.04 ▼1.92 |
Manutenção /wp-admin/options-general.php?page=fswpma_manutencao | 973 | 2.01 | 24.45 | 41.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 32× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'League\\Container\\Argument\\LiteralArgument' not found in wp-content/plugins/wp-manutencao/vendor/league/container/src/Argument/Literal/BooleanArgument.php:9
- > PHP Fatal error
Uncaught Error: Interface 'League\\Container\\ContainerAwareInterface' not found in wp-content/plugins/wp-manutencao/vendor/league/container/src/Definition/DefinitionInterface.php:9
- > PHP Fatal error
Uncaught Error: Class 'League\\Container\\Argument\\LiteralArgument' not found in wp-content/plugins/wp-manutencao/vendor/league/container/src/Argument/Literal/ObjectArgument.php:9
- > PHP Fatal error
Uncaught Error: Interface 'League\\Container\\ContainerAwareInterface' not found in wp-content/plugins/wp-manutencao/vendor/league/container/src/Inflector/InflectorAggregateInterface.php:10
- > PHP Fatal error
Uncaught Error: Interface 'League\\Container\\Argument\\ArgumentResolverInterface' not found in wp-content/plugins/wp-manutencao/vendor/league/container/src/ReflectionContainer.php:15
- > PHP Fatal error
Uncaught Error: Interface 'League\\Container\\ServiceProvider\\ServiceProviderInterface' not found in wp-content/plugins/wp-manutencao/vendor/league/container/src/ServiceProvider/BootableServiceProviderInterface.php:7
- > PHP Fatal error
Uncaught Error: Class 'League\\Container\\Argument\\LiteralArgument' not found in wp-content/plugins/wp-manutencao/vendor/league/container/src/Argument/Literal/CallableArgument.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Container\otFoundExceptionInterface' not found in wp-content/plugins/wp-manutencao/vendor/league/container/src/Exception/NotFoundException.php:10
- > PHP Fatal error
Uncaught Error: Interface 'League\\Container\\ServiceProvider\\ServiceProviderAggregateInterface' not found in wp-content/plugins/wp-manutencao/vendor/league/container/src/ServiceProvider/ServiceProviderAggregate.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/wp-manutencao/vendor/league/container/src/Exception/ContainerException.php:10
- > 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
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: maintenance, manuteno, coming soon, construction, em breve
wp-manutencao/wordpress-manutencao.php 92% from 13 tests
The main PHP script in "WordPress Manutenção" version 1.0.6 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-manutencao.php" instead of "wordpress-manutencao.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected2,661 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 59 | 580 | 724 | 2,244 |
Markdown | 3 | 100 | 0 | 212 |
JSON | 1 | 0 | 0 | 147 |
JavaScript | 1 | 8 | 0 | 41 |
CSS | 1 | 4 | 0 | 17 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 5.73 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 17 | |
Traits | 2 | |
Classes | 30 | |
▷ Abstract classes | 2 | 6.67% |
▷ Concrete classes | 28 | 93.33% |
▷ Final classes | 2 | 7.14% |
Methods | 197 | |
▷ Static methods | 18 | 9.14% |
▷ Public methods | 191 | 96.95% |
▷ Protected methods | 4 | 2.03% |
▷ Private methods | 2 | 1.02% |
Functions | 6 | |
▷ Named functions | 2 | 33.33% |
▷ Anonymous functions | 4 | 66.67% |
Constants | 15 | |
▷ Global constants | 5 | 33.33% |
▷ Class constants | 10 | 66.67% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin