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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.52MB] [CPU: ▲3.18ms] Passed 4 tests
Analyzing server-side resources used by Say It!
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.98 ▲0.52 | 43.91 ▲7.52 |
Dashboard /wp-admin | 3.83 ▲0.52 | 49.32 ▲2.25 |
Posts /wp-admin/edit.php | 3.88 ▲0.52 | 57.17 ▲8.01 |
Add New Post /wp-admin/post-new.php | 6.43 ▲0.54 | 87.06 ▼5.05 |
Media Library /wp-admin/upload.php | 3.75 ▲0.52 | 45.33 ▲9.58 |
Say It! /wp-admin/options-general.php?page=say-it | 3.68 | 35.04 |
Server storage [IO: ▲20.96MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 2,160 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Say It!: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲190 | 16.35 ▲1.99 | 5.97 ▲4.43 | 38.27 ▼1.53 |
Dashboard /wp-admin | 2,227 ▲39 | 6.48 ▲1.60 | 144.68 ▲30.09 | 37.69 ▼8.12 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 3.57 ▲1.58 | 82.29 ▲43.10 | 35.63 ▼2.10 |
Add New Post /wp-admin/post-new.php | 1,702 ▲174 | 25.30 ▲7.29 | 716.13 ▲91.16 | 36.28 ▼22.84 |
Media Library /wp-admin/upload.php | 1,406 ▲15 | 5.33 ▲1.10 | 130.45 ▲32.02 | 42.82 ▲0.15 |
Say It! /wp-admin/options-general.php?page=say-it | 1,440 | 3.67 | 76.22 | 29.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=say-it
- > Notice in wp-content/plugins/say-it/admin/partials/say-it-admin-display-google.php+58
Undefined variable: google_languages
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=say-it
- > Warning in wp-content/plugins/say-it/admin/partials/say-it-admin-display-amazon.php+34
Invalid argument supplied for foreach()
- > GET request to /wp-admin/options-general.php?page=say-it
- > Notice in wp-content/plugins/say-it/admin/partials/say-it-admin-display-google.php+87
Undefined variable: google_voices
- > GET request to /wp-admin/options-general.php?page=say-it
- > Notice in wp-content/plugins/say-it/admin/partials/say-it-admin-display-amazon.php+34
Trying to access array offset on value of type null
- > GET request to /wp-admin/options-general.php?page=say-it
- > Notice in wp-content/plugins/say-it/admin/partials/say-it-admin-display-debug.php+17
Undefined index: google_tts_key
- > GET request to /wp-admin/options-general.php?page=say-it
- > Notice in wp-content/plugins/say-it/admin/partials/say-it-admin-display-debug.php+20
Undefined index: amazon_polly_secret
SRP 0% 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
- 5× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/say-it/admin/partials/parts/help.php
- > /wp-content/plugins/say-it/admin/partials/say-it-admin-display.php
- > /wp-content/plugins/say-it/public/partials/say-it-public-display.php
- > /wp-content/plugins/say-it/vendor/bin/jp.php
- > /wp-content/plugins/say-it/vendor/mtdowling/jmespath.php/bin/jp.php
- 936× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Api\\Serializer\\RestSerializer' not found in wp-content/plugins/say-it/vendor/aws/aws-sdk-php/src/Api/Serializer/RestJsonSerializer.php:11
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/say-it/vendor/google/gax/tests/Tests/Unit/AgentHeaderTest.php:38
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/say-it/vendor/aws/aws-sdk-php/src/EBS/Exception/EBSException.php:9
- > PHP Fatal error
Uncaught Error: Class 'Grpc\\BaseStub' not found in wp-content/plugins/say-it/vendor/google/cloud-text-to-speech/src/V1/TextToSpeechGrpcClient.php:25
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/say-it/vendor/aws/aws-sdk-php/src/RDSDataService/RDSDataServiceClient.php:21
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromisorInterface' not found in wp-content/plugins/say-it/vendor/aws/aws-sdk-php/src/CommandPool.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Google\\Auth\\FetchAuthTokenInterface' not found in wp-content/plugins/say-it/vendor/google/auth/src/Credentials/InsecureCredentials.php:27
- > PHP Fatal error
Uncaught Error: Interface 'Aws\\CommandInterface' not found in wp-content/plugins/say-it/vendor/aws/aws-sdk-php/src/Command.php:7
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/say-it/vendor/aws/aws-sdk-php/src/AugmentedAIRuntime/Exception/AugmentedAIRuntimeException.php:9
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Event\\SubscriberInterface' not found in wp-content/plugins/say-it/vendor/google/auth/src/Subscriber/AuthTokenSubscriber.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% 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 have no corresponding images in /assets: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screen shot)
say-it/say-it.php Passed 13 tests
"Say It!" version 4.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
65 characters long description:
Text to speech plugin helping your website easily say something !
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected84,975 lines of code in 2,111 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,984 | 13,812 | 65,438 | 71,717 |
JSON | 50 | 8 | 0 | 7,440 |
Markdown | 36 | 1,343 | 0 | 4,291 |
JavaScript | 8 | 120 | 183 | 638 |
CSS | 6 | 64 | 41 | 316 |
Bourne Shell | 8 | 43 | 80 | 162 |
YAML | 6 | 21 | 0 | 146 |
XML | 7 | 7 | 5 | 102 |
Protocol Buffers | 2 | 14 | 38 | 62 |
reStructuredText | 1 | 35 | 29 | 59 |
make | 2 | 10 | 0 | 22 |
Python | 1 | 7 | 17 | 20 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 4.87 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 419.00 |
Average method complexity | 1.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 557 | |
Interfaces | 46 | |
Traits | 31 | |
Classes | 1,263 | |
▷ Abstract classes | 17 | 1.35% |
▷ Concrete classes | 1,246 | 98.65% |
▷ Final classes | 14 | 1.12% |
Methods | 5,603 | |
▷ Static methods | 644 | 11.49% |
▷ Public methods | 4,662 | 83.21% |
▷ Protected methods | 174 | 3.11% |
▷ Private methods | 767 | 13.69% |
Functions | 576 | |
▷ Named functions | 142 | 24.65% |
▷ Anonymous functions | 434 | 75.35% |
Constants | 502 | |
▷ Global constants | 4 | 0.80% |
▷ Class constants | 498 | 99.20% |
▷ Public constants | 498 | 100.00% |
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