Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/nubuilder-forte/nubuilder-include.php+14
Constant DB_HOST already defined
Server metrics [RAM: ▲0.81MB] [CPU: ▼51.85ms] Passed 4 tests
Analyzing server-side resources used by nuBuilder Forte
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.81 ▲1.35 | 13.21 ▼27.60 |
Dashboard /wp-admin | 4.83 ▲1.48 | 14.81 ▼53.93 |
Posts /wp-admin/edit.php | 4.83 ▲1.48 | 14.82 ▼33.38 |
Add New Post /wp-admin/post-new.php | 4.83 ▼1.06 | 14.17 ▼92.49 |
Media Library /wp-admin/upload.php | 4.83 ▲1.60 | 14.88 ▼23.16 |
Server storage [IO: ▲34.07MB] [DB: ▲0.44MB] 67% from 3 tests
Input-output and database impact of this plugin
Just a few items left to fix
- Filesystem usage must be lower than 25MB (currently using 34.07MB)
Filesystem: 2,615 new files
Database: 22 new tables, 6 new options
New tables |
---|
zzzzsys_event |
zzzzsys_debug |
zzzzsys_access_form |
zzzzsys_report |
zzzzsys_tab |
zzzzsys_form |
zzzzsys_file |
zzzzsys_select_clause |
zzzzsys_timezone |
zzzzsys_user |
... |
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for nuBuilder Forte
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲66 | 13.26 ▼1.12 | 1.62 ▼0.27 | 36.54 ▼6.65 |
Dashboard /wp-admin | 2,218 ▲33 | 5.79 ▼0.03 | 104.47 ▲4.33 | 38.93 ▼2.82 |
Posts /wp-admin/edit.php | 2,098 ▲12 | 2.00 ▲0.00 | 39.84 ▲3.73 | 34.64 ▼1.79 |
Add New Post /wp-admin/post-new.php | 1,543 ▲15 | 20.90 ▲2.51 | 692.27 ▲86.45 | 52.91 ▲2.98 |
Media Library /wp-admin/upload.php | 1,397 ▲6 | 4.24 ▲0.04 | 94.75 ▼3.52 | 42.47 ▼3.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▼1.14MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/nubuilder-forte/nubuilder-include.php+14
Constant DB_HOST already defined
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 95× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/nubuilder-forte/vendor/phpmyadmin/url.php
- > /wp-content/plugins/nubuilder-forte/vendor/phpmyadmin/navigation.php
- > /wp-content/plugins/nubuilder-forte/vendor/phpmyadmin/server_databases.php
- > /wp-content/plugins/nubuilder-forte/vendor/phpmyadmin/js/whitelist.php
- > /wp-content/plugins/nubuilder-forte/vendor/phpmyadmin/db_routines.php
- > /wp-content/plugins/nubuilder-forte/vendor/phpmyadmin/db_events.php
- > /wp-content/plugins/nubuilder-forte/vendor/phpmyadmin/import_status.php
- > /wp-content/plugins/nubuilder-forte/vendor/phpmyadmin/browse_foreigners.php
- > /wp-content/plugins/nubuilder-forte/vendor/phpmyadmin/db_import.php
- > /wp-content/plugins/nubuilder-forte/vendor/phpmyadmin/db_structure.php
- 558× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PhpMyAdmin\avigation\odes\odeDatabaseChildContainer' not found in wp-content/plugins/nubuilder-forte/vendor/phpmyadmin/libraries/classes/Navigation/Nodes/NodeProcedureContainer.php:18
- > PHP Fatal error
Uncaught Error: Class 'PhpMyAdmin\\Plugins\\IOTransformationsPlugin' not found in wp-content/plugins/nubuilder-forte/vendor/phpmyadmin/libraries/classes/Plugins/Transformations/Input/Text_Plain_Iptobinary.php:20
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node' not found in wp-content/plugins/nubuilder-forte/vendor/phpmyadmin/vendor/twig/twig/lib/Twig/Node/Sandbox.php:17
- > PHP Fatal error
Uncaught Error: Interface 'PhpMyAdmin\\Plugins\\TransformationsInterface' not found in wp-content/plugins/nubuilder-forte/vendor/phpmyadmin/libraries/classes/Plugins/TransformationsPlugin.php:16
- > PHP Fatal error
Uncaught Error: Class 'PhpMyAdmin\\Properties\\Plugins\\PluginPropertyItem' not found in wp-content/plugins/nubuilder-forte/vendor/phpmyadmin/libraries/classes/Properties/Plugins/ExportPluginProperties.php:16
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node' not found in wp-content/plugins/nubuilder-forte/vendor/phpmyadmin/vendor/twig/twig/lib/Twig/Node/For.php:18
- > PHP Fatal error
Uncaught Error: Class 'PhpMyAdmin\\Config\\Forms\\BaseForm' not found in wp-content/plugins/nubuilder-forte/vendor/phpmyadmin/libraries/classes/Config/Forms/User/MainForm.php:12
- > PHP Fatal error
Uncaught Error: Class 'Twig_Test' not found in wp-content/plugins/nubuilder-forte/vendor/phpmyadmin/vendor/twig/twig/lib/Twig/Test/Node.php:21
- > PHP Fatal error
Uncaught Error: Class 'PhpMyAdmin\\Config\\FormDisplay' not found in wp-content/plugins/nubuilder-forte/vendor/phpmyadmin/libraries/classes/Config/Forms/BaseForm.php:16
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node_Expression_Binary' not found in wp-content/plugins/nubuilder-forte/vendor/phpmyadmin/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Or.php:12
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
nubuilder-forte/nubuilder-forte.php 92% from 13 tests
Analyzing the main PHP file in "nuBuilder Forte" version 1.5
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 160 characters long)
Code Analysis 95% from 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
Success! There were no dangerous files found in this plugin398,241 lines of code in 2,044 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,209 | 25,207 | 73,886 | 192,986 |
JavaScript | 502 | 22,478 | 16,188 | 187,756 |
Twig | 228 | 281 | 176 | 8,373 |
CSS | 15 | 372 | 117 | 3,203 |
JSON | 24 | 1 | 0 | 1,878 |
Markdown | 30 | 732 | 0 | 1,589 |
C | 1 | 171 | 186 | 860 |
SQL | 5 | 187 | 316 | 759 |
XML | 13 | 15 | 0 | 301 |
HTML | 2 | 17 | 5 | 298 |
YAML | 9 | 37 | 13 | 187 |
reStructuredText | 3 | 15 | 2 | 28 |
C/C++ Header | 1 | 7 | 13 | 15 |
m4 | 1 | 2 | 1 | 5 |
Bourne Shell | 1 | 2 | 0 | 3 |
PHP code 0% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
Please fix the following
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 4,349)
- Please reduce cyclomatic complexity of methods to less than 100 (currently 577)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 22.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4,349.00 |
Average method complexity | 4.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 577.00 |
Code structure | ||
---|---|---|
Namespaces | 104 | |
Interfaces | 56 | |
Traits | 2 | |
Classes | 966 | |
▷ Abstract classes | 73 | 7.56% |
▷ Concrete classes | 893 | 92.44% |
▷ Final classes | 3 | 0.34% |
Methods | 5,774 | |
▷ Static methods | 1,218 | 21.09% |
▷ Public methods | 4,575 | 79.23% |
▷ Protected methods | 609 | 10.55% |
▷ Private methods | 590 | 10.22% |
Functions | 454 | |
▷ Named functions | 417 | 91.85% |
▷ Anonymous functions | 37 | 8.15% |
Constants | 595 | |
▷ Global constants | 270 | 45.38% |
▷ Class constants | 325 | 54.62% |
▷ Public constants | 325 | 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
396 compressed PNG files occupy 0.78MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/phpmyadmin/themes/pmahomme/img/bd_browse.png | 0.26KB | 0.49KB | 0.00% |
graphics/bro.png | 1.82KB | 0.46KB | ▼ 74.61% |
vendor/phpmyadmin/themes/pmahomme/img/s_process.png | 0.43KB | 0.83KB | 0.00% |
vendor/phpmyadmin/themes/pmahomme/img/bd_routine_add.png | 0.26KB | 0.38KB | 0.00% |
vendor/phpmyadmin/themes/pmahomme/img/designer/anchor.png | 0.45KB | 0.59KB | 0.00% |