Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.76MB] [CPU: ▲539.92ms] 50% from 4 tests
Analyzing server-side resources used by Voice Forms
The following require your attention
- CPU: The total CPU usage must kept under 500.00ms (currently 602.79ms on /wp-admin/options-general.php?page=voice-forms-settings)
- Extra CPU: Try to keep extra CPU usage under 200.00ms (currently 539.92ms on /wp-admin/options-general.php?page=voice-forms-settings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.26 ▲0.79 | 619.94 ▲570.30 |
Dashboard /wp-admin | 4.07 ▲0.72 | 583.49 ▲515.61 |
Posts /wp-admin/edit.php | 4.12 ▲0.76 | 602.92 ▲551.16 |
Add New Post /wp-admin/post-new.php | 6.67 ▲0.78 | 627.20 ▲524.21 |
Media Library /wp-admin/upload.php | 3.99 ▲0.76 | 602.31 ▲568.71 |
Voice Forms /wp-admin/options-general.php?page=voice-forms-settings | 3.91 | 602.79 |
Server storage [IO: ▲0.62MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 56 new files
Database: no new tables, 15 new options
New WordPress options |
---|
can_compress_scripts |
vf_api_system_key |
db_upgraded |
widget_theysaidso_widget |
vf_version |
vf_settings_updated_timestamp |
vf_selected_language |
widget_recent-comments |
widget_recent-posts |
vf_floating_mic |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Voice Forms
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,927 ▲181 | 14.79 ▲0.56 | 5.70 ▲3.91 | 46.89 ▲3.86 |
Dashboard /wp-admin | 2,223 ▲35 | 5.84 ▼0.00 | 100.00 ▼9.33 | 73.19 ▲28.71 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 1.96 ▼0.05 | 35.61 ▲0.48 | 36.74 ▼0.79 |
Add New Post /wp-admin/post-new.php | 1,694 ▲174 | 20.15 ▼3.06 | 716.89 ▲91.87 | 61.02 ▲10.21 |
Media Library /wp-admin/upload.php | 1,411 ▲23 | 4.31 ▲0.09 | 101.73 ▲2.68 | 79.34 ▲36.29 |
Voice Forms /wp-admin/options-general.php?page=voice-forms-settings | 1,764 | 2.17 | 25.39 | 52.09 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 14 options in the database
- vf_selected_language
- db_upgraded
- vf_floating_mic
- vf_api_system_key
- widget_recent-comments
- can_compress_scripts
- vf_uuid
- vf_first_activation
- vf_settings_updated_timestamp
- theysaidso_admin_options
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
voice-forms/voice-forms.php 92% from 13 tests
The entry point to "Voice Forms" version 3.1.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected6,939 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 366 | 467 | 4,151 |
JavaScript | 14 | 480 | 459 | 1,954 |
CSS | 4 | 152 | 36 | 726 |
SVG | 7 | 1 | 2 | 92 |
JSON | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 18.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 97.00 |
Average method complexity | 3.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 19 | 31.15% |
▷ Public methods | 49 | 80.33% |
▷ Protected methods | 6 | 9.84% |
▷ Private methods | 6 | 9.84% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 23 | |
▷ Global constants | 4 | 17.39% |
▷ Class constants | 19 | 82.61% |
▷ Public constants | 19 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/speak2web_logo.png | 3.16KB | 3.26KB | 0.00% |