Benchmarks
Plugin footprint 83% 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: ▲0.03MB] [CPU: ▼5.16ms] Passed 4 tests
A check of server-side resources used by Klaive - Integrates Klaviyo with Give
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.21 ▼0.58 |
Dashboard /wp-admin | 3.34 ▼0.00 | 46.58 ▼10.22 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 46.77 ▼5.45 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 90.02 ▼4.15 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.96 ▼0.81 |
Server storage [IO: ▲6.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 1,673 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Klaive - Integrates Klaviyo with Give: 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,829 ▲83 | 13.15 ▼1.30 | 1.70 ▼0.09 | 43.30 ▲3.81 |
Dashboard /wp-admin | 2,235 ▲44 | 5.79 ▲0.89 | 103.01 ▲0.33 | 42.88 ▼2.09 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.03 ▲0.02 | 35.18 ▼5.77 | 35.70 ▼3.58 |
Add New Post /wp-admin/post-new.php | 1,552 ▲38 | 18.18 ▲0.66 | 608.50 ▼62.10 | 63.01 ▲8.68 |
Media Library /wp-admin/upload.php | 1,417 ▲29 | 4.22 ▲0.03 | 96.38 ▼2.47 | 42.09 ▼1.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
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
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/klaive/vendor/phpcompatibility/php-compatibility/phpunit-bootstrap.php
- > /wp-content/plugins/klaive/vendor/squizlabs/php_codesniffer/scripts/build-phar.php
- 746× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PHP_CodeSniffer\\Tests\\Standards\\AbstractSniffUnitTest' not found in wp-content/plugins/klaive/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ForEachLoopDeclarationUnitTest.php:14
- > PHP Fatal error
Uncaught Error: Interface 'PHP_CodeSniffer\\Sniffs\\Sniff' not found in wp-content/plugins/klaive/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Strings/ConcatenationSpacingSniff.php:16
- > PHP Fatal error
Uncaught Error: Class 'PHP_CodeSniffer\\Tests\\Standards\\AbstractSniffUnitTest' not found in wp-content/plugins/klaive/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Classes/ClassFileNameUnitTest.php:14
- > PHP Fatal error
Uncaught Error: Class 'WordPressCS\\WordPress\\Sniff' not found in wp-content/plugins/klaive/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Security/NonceVerificationSniff.php:25
- > PHP Fatal error
Uncaught Error: Class 'PHP_CodeSniffer\\Tests\\Standards\\AbstractSniffUnitTest' not found in wp-content/plugins/klaive/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Functions/NullableTypeDeclarationUnitTest.php:14
- > PHP Fatal error
Uncaught Error: Class 'PHPCompatibility\\AbstractComplexVersionSniff' not found in wp-content/plugins/klaive/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/RequiredToOptionalFunctionParametersSniff.php:30
- > PHP Fatal error
Uncaught Error: Class 'PHP_CodeSniffer\\Tests\\Standards\\AbstractSniffUnitTest' not found in wp-content/plugins/klaive/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/MultipleStatementAlignmentUnitTest.php:14
- > PHP Fatal error
Uncaught Error: Class 'WordPressCS\\WordPress\\Sniff' not found in wp-content/plugins/klaive/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WhiteSpace/DisallowInlineTabsSniff.php:25
- > PHP Fatal error
Uncaught Error: Class 'PHP_CodeSniffer\\Tests\\Standards\\AbstractSniffUnitTest' not found in wp-content/plugins/klaive/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Channels/DisallowSelfActionsUnitTest.php:14
- > PHP Fatal error
Uncaught Error: Class 'PHP_CodeSniffer\\Tests\\Standards\\AbstractSniffUnitTest' not found in wp-content/plugins/klaive/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Strings/DoubleQuoteUsageUnitTest.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: klaviyo, donation, donations, give, givewp...
klaive/klaive.php 92% from 13 tests
The main PHP file in "Klaive - Integrates Klaviyo with Give" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Requires at least: Required version must match the one declared in readme.txt ("4.8" instead of "5.2")
Code Analysis 3% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Almost there! Just fix the following issues
- Do not distribute dangerous files with your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/klaive/vendor/squizlabs/php_codesniffer/bin/phpcbf.bat
- ☣ wp-content/plugins/klaive/vendor/squizlabs/php_codesniffer/bin/phpcs.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 920 | 21,889 | 42,966 | 92,014 |
XML | 170 | 429 | 777 | 5,968 |
Pascal | 111 | 2,402 | 5,099 | 5,092 |
Markdown | 12 | 848 | 0 | 3,291 |
JavaScript | 57 | 765 | 862 | 2,136 |
JSON | 10 | 0 | 0 | 902 |
CSS | 33 | 189 | 92 | 665 |
XSD | 1 | 6 | 0 | 130 |
DOS Batch | 2 | 4 | 10 | 10 |
Sass | 1 | 2 | 0 | 10 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
These items need your attention
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 332)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 16.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 480.00 |
Average method complexity | 6.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 332.00 |
Code structure | ||
---|---|---|
Namespaces | 193 | |
Interfaces | 3 | |
Traits | 1 | |
Classes | 774 | |
▷ Abstract classes | 20 | 2.58% |
▷ Concrete classes | 754 | 97.42% |
▷ Final classes | 2 | 0.27% |
Methods | 2,376 | |
▷ Static methods | 85 | 3.58% |
▷ Public methods | 1,905 | 80.18% |
▷ Protected methods | 375 | 15.78% |
▷ Private methods | 96 | 4.04% |
Functions | 9 | |
▷ Named functions | 2 | 22.22% |
▷ Anonymous functions | 7 | 77.78% |
Constants | 136 | |
▷ Global constants | 103 | 75.74% |
▷ Class constants | 33 | 24.26% |
▷ Public constants | 33 | 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
No PNG images were found in this plugin