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
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.30ms] Passed 4 tests
An overview of server-side resources used by The Voice Designer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.04 ▼1.82 |
Dashboard /wp-admin | 3.34 ▲0.04 | 48.38 ▲0.52 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 73.32 ▲22.51 |
Add New Post /wp-admin/post-new.php | 5.86 ▼0.02 | 79.37 ▼22.95 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 31.44 ▼0.94 |
Server storage [IO: ▲1.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 66 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
ddd-voice-site-guid |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for The Voice Designer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,975 ▲240 | 14.95 ▲0.69 | 1.97 ▲0.21 | 46.21 ▲0.09 |
Dashboard /wp-admin | 2,339 ▲148 | 6.40 ▲1.50 | 133.14 ▲33.98 | 90.30 ▲46.30 |
Posts /wp-admin/edit.php | 2,257 ▲168 | 3.57 ▲1.53 | 49.82 ▲9.37 | 65.47 ▲27.68 |
Add New Post /wp-admin/post-new.php | 1,556 ▲14 | 18.89 ▲0.47 | 641.62 ▲3.12 | 32.70 ▼21.78 |
Media Library /wp-admin/upload.php | 1,399 ▲17 | 4.00 ▼0.20 | 84.27 ▼16.33 | 75.01 ▲29.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- ddd-voice-site-guid
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Please fix the following
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/the-voice-designer-by-data-driven-design/vendor/nategood/httpful/examples/showclix.php
- > /wp-content/plugins/the-voice-designer-by-data-driven-design/vendor/nategood/httpful/tests/bootstrap-server.php
- > /wp-content/plugins/the-voice-designer-by-data-driven-design/vendor/nategood/httpful/examples/github.php
- 26× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/the-voice-designer-by-data-driven-design/vendor/nategood/httpful/examples/showclix.php on line 24
- > PHP Warning
Use of undefined constant WEB_SERVER_PORT - assumed 'WEB_SERVER_PORT' (this will throw an Error in a future version of PHP) in wp-content/plugins/the-voice-designer-by-data-driven-design/vendor/nategood/httpful/tests/bootstrap-server.php on line 34
- > PHP Notice
Trying to get property 'name' of non-object in wp-content/plugins/the-voice-designer-by-data-driven-design/vendor/nategood/httpful/examples/github.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'Httpful\\Handlers\\MimeHandlerAdapter' not found in wp-content/plugins/the-voice-designer-by-data-driven-design/vendor/nategood/httpful/src/Httpful/Handlers/XmlHandler.php:11
- > PHP Fatal error
Uncaught Error: Class 'Httpful\\Handlers\\MimeHandlerAdapter' not found in wp-content/plugins/the-voice-designer-by-data-driven-design/vendor/nategood/httpful/src/Httpful/Handlers/CsvHandler.php:9
- > PHP Notice
Trying to get property 'event_start' of non-object in wp-content/plugins/the-voice-designer-by-data-driven-design/vendor/nategood/httpful/examples/showclix.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/the-voice-designer-by-data-driven-design/wp/editor-sidebar.php:26
- > PHP Warning
Use of undefined constant WEB_SERVER_PORT - assumed 'WEB_SERVER_PORT' (this will throw an Error in a future version of PHP) in wp-content/plugins/the-voice-designer-by-data-driven-design/vendor/nategood/httpful/tests/Httpful/HttpfulTest.php on line 22
- > PHP Warning
Use of undefined constant WEB_SERVER_DOCROOT - assumed 'WEB_SERVER_DOCROOT' (this will throw an Error in a future version of PHP) in wp-content/plugins/the-voice-designer-by-data-driven-design/vendor/nategood/httpful/tests/bootstrap-server.php on line 15
- > PHP Notice
Trying to get property 'created-at' of non-object in wp-content/plugins/the-voice-designer-by-data-driven-design/vendor/nategood/httpful/examples/github.php on line 9
- > PHP Notice
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, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: voice, alexa, google actions, alexa skills
the-voice-designer-by-data-driven-design/voice-plugin.php 92% from 13 tests
The main PHP file in "The Voice Designer" ver. 0.3.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("the-voice-designer-by-data-driven-design.php" instead of "voice-plugin.php")
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 detected2,799 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 43 | 537 | 1,061 | 2,426 |
Markdown | 2 | 91 | 0 | 181 |
JSON | 4 | 0 | 0 | 92 |
JavaScript | 1 | 6 | 0 | 68 |
XML | 1 | 1 | 0 | 15 |
YAML | 1 | 3 | 0 | 14 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 7.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 1.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 32 | |
▷ Abstract classes | 1 | 3.12% |
▷ Concrete classes | 31 | 96.88% |
▷ Final classes | 1 | 3.23% |
Methods | 232 | |
▷ Static methods | 52 | 22.41% |
▷ Public methods | 216 | 93.10% |
▷ Protected methods | 1 | 0.43% |
▷ Private methods | 15 | 6.47% |
Functions | 22 | |
▷ Named functions | 8 | 36.36% |
▷ Anonymous functions | 14 | 63.64% |
Constants | 46 | |
▷ Global constants | 4 | 8.70% |
▷ Class constants | 42 | 91.30% |
▷ Public constants | 40 | 95.24% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.90MB with 0.52MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 46.86KB | 17.75KB | ▼ 62.12% |
wp/logo.png | 35.47KB | 13.67KB | ▼ 61.46% |
assets/screenshot-1.png | 797.00KB | 229.62KB | ▼ 71.19% |
wp/logo-icon-lg.png | 6.90KB | 3.03KB | ▼ 56.06% |
wp/logo-icon.png | 1.77KB | 1.10KB | ▼ 38.07% |