Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲1.51MB] [CPU: ▲7.34ms] Passed 4 tests
An overview of server-side resources used by Connect to Edara
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.96 ▲1.49 | 46.37 ▲2.92 |
Dashboard /wp-admin | 4.86 ▲1.55 | 55.36 ▲9.25 |
Posts /wp-admin/edit.php | 4.91 ▲1.55 | 56.47 ▲8.37 |
Add New Post /wp-admin/post-new.php | 7.39 ▲1.50 | 103.33 ▲11.50 |
Media Library /wp-admin/upload.php | 4.72 ▲1.49 | 45.00 ▲8.83 |
Server storage [IO: ▲11.81MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please try to fix the following items
- You have illegally modified 1 file (0.91KB) outside of "wp-content/plugins/connect-to-edara/" and "wp-content/uploads/"
- (new file) log_system.log
Filesystem: 3,232 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Connect to Edara
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲44 | 14.67 ▲0.33 | 1.70 ▼0.03 | 37.45 ▼3.89 |
Dashboard /wp-admin | 2,211 ▲31 | 5.63 ▼0.01 | 93.27 ▼3.04 | 39.21 ▼4.53 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.94 ▼0.08 | 38.41 ▼2.54 | 34.15 ▼1.74 |
Add New Post /wp-admin/post-new.php | 1,397 ▼129 | 21.51 ▼2.17 | 514.06 ▼113.63 | 57.12 ▼17.18 |
Media Library /wp-admin/upload.php | 1,410 ▲13 | 4.27 ▼0.01 | 95.59 ▼5.97 | 43.54 ▲1.66 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
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 | 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
- 16× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/connect-to-edara/Includes/addStore.php
- > /wp-content/plugins/connect-to-edara/Includes/data1.php
- > /wp-content/plugins/connect-to-edara/Includes/second_step.php
- > /wp-content/plugins/connect-to-edara/vendor/phpcompatibility/php-compatibility/phpunit-bootstrap.php
- > /wp-content/plugins/connect-to-edara/api/continueSync.php
- > /wp-content/plugins/connect-to-edara/Includes/done.php
- > /wp-content/plugins/connect-to-edara/Includes/reSync.php
- > /wp-content/plugins/connect-to-edara/Includes/data2.php
- > /wp-content/plugins/connect-to-edara/Includes/data_get_services.php
- > /wp-content/plugins/connect-to-edara/vendor/squizlabs/php_codesniffer/scripts/build-phar.php
- 1520× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PHP_CodeSniffer\\Tests\\Standards\\AbstractSniffUnitTest' not found in wp-content/plugins/connect-to-edara/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Objects/AssignThisUnitTest.php:14
- > PHP Fatal error
Uncaught Error: Class 'PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff' not found in wp-content/plugins/connect-to-edara/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Sniffs/Commenting/FunctionCommentSniff.php:18
- > PHP Fatal error
Uncaught Error: Interface 'PHP_CodeSniffer\\Sniffs\\Sniff' not found in wp-content/plugins/connect-to-edara/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php:16
- > PHP Fatal error
Uncaught Error: Interface 'PHP_CodeSniffer\\Sniffs\\Sniff' not found in wp-content/plugins/connect-to-edara/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/CSS/ColourDefinitionSniff.php:15
- > PHP Fatal error
Uncaught Error: Class 'PHP_CodeSniffer\\Tests\\Core\\AbstractMethodUnitTest' not found in wp-content/plugins/connect-to-edara/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizer/AnonClassParenthesisOwnerTest.php:14
- > PHP Fatal error
Uncaught Error: Class 'PHP_CodeSniffer\\Tests\\Standards\\AbstractSniffUnitTest' not found in wp-content/plugins/connect-to-edara/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/ControlStructures/MultiLineConditionUnitTest.php:14
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\Constraint\\Constraint' not found in wp-content/plugins/connect-to-edara/vendor/phpunit/phpunit/src/Framework/Constraint/IsTrue.php:15
- > PHP Fatal error
Uncaught Error: Interface 'PHP_CodeSniffer\\Reports\\Report' not found in wp-content/plugins/connect-to-edara/vendor/squizlabs/php_codesniffer/src/Reports/Notifysend.php:22
- > PHP Fatal error
Uncaught Error: Interface 'PHP_CodeSniffer\\Sniffs\\Sniff' not found in wp-content/plugins/connect-to-edara/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php:15
- > PHP Fatal error
Uncaught Error: Interface 'PHP_CodeSniffer\\Sniffs\\Sniff' not found in wp-content/plugins/connect-to-edara/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Sniffs/Channels/DisallowSelfActionsSniff.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6, #7, #8 in connect-to-edara/assets to your readme.txt
connect-to-edara/index.php 92% from 13 tests
"Connect to Edara" version 14.23111.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("connect-to-edara.php" instead of "index.php")
Code Analysis 3% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
These items require your attention
- Do not distribute dangerous files with your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/connect-to-edara/vendor/squizlabs/php_codesniffer/bin/phpcbf.bat
- ☣ wp-content/plugins/connect-to-edara/vendor/squizlabs/php_codesniffer/bin/phpcs.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2,146 | 40,366 | 79,682 | 173,789 |
Markdown | 98 | 4,224 | 0 | 10,689 |
XML | 174 | 436 | 737 | 5,433 |
Pascal | 111 | 2,385 | 5,066 | 5,062 |
JSON | 55 | 23 | 0 | 4,987 |
JavaScript | 63 | 766 | 874 | 2,185 |
reStructuredText | 38 | 1,045 | 1,324 | 1,232 |
CSS | 38 | 215 | 98 | 773 |
YAML | 16 | 97 | 1 | 612 |
XSD | 2 | 6 | 0 | 447 |
Ant | 3 | 22 | 0 | 100 |
Python | 1 | 70 | 155 | 42 |
make | 2 | 12 | 0 | 38 |
DOS Batch | 2 | 4 | 10 | 10 |
SVG | 2 | 0 | 0 | 2 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
It is recommended to fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 316)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 10.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 462.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 316.00 |
Code structure | ||
---|---|---|
Namespaces | 354 | |
Interfaces | 120 | |
Traits | 13 | |
Classes | 2,008 | |
▷ Abstract classes | 66 | 3.29% |
▷ Concrete classes | 1,942 | 96.71% |
▷ Final classes | 404 | 20.80% |
Methods | 8,708 | |
▷ Static methods | 1,127 | 12.94% |
▷ Public methods | 7,176 | 82.41% |
▷ Protected methods | 767 | 8.81% |
▷ Private methods | 765 | 8.79% |
Functions | 819 | |
▷ Named functions | 594 | 72.53% |
▷ Anonymous functions | 225 | 27.47% |
Constants | 467 | |
▷ Global constants | 113 | 24.20% |
▷ Class constants | 354 | 75.80% |
▷ Public constants | 304 | 85.88% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin