Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.11MB] [CPU: ▲548.51ms] 50% from 4 tests
Analyzing server-side resources used by Universal Voice Search
Please take the time to fix the following items
- CPU: Try to keep total CPU usage under 500.00ms (currently 610.67ms on /wp-admin/options-general.php?page=universal-voice-search-settings)
- Extra CPU: The extra CPU usage must be under 200.00ms (currently 548.51ms on /wp-admin/options-general.php?page=universal-voice-search-settings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 620.23 ▲578.02 |
Dashboard /wp-admin | 3.45 ▲0.14 | 590.23 ▲536.88 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 605.52 ▲558.75 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 647.22 ▲549.84 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 583.47 ▲548.58 |
Universal Voice Search /wp-admin/options-general.php?page=universal-voice-search-settings | 3.28 | 610.67 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 60 new files
Database: no new tables, 15 new options
New WordPress options |
---|
uvs_settings_updated_timestamp |
widget_recent-comments |
uvs_first_activation |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
uvs_floating_mic_position |
widget_recent-posts |
uvs_floating_mic |
uvs_selected_language |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Universal Voice Search
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲171 | 13.38 ▼0.86 | 4.90 ▲3.07 | 44.17 ▲0.03 |
Dashboard /wp-admin | 2,235 ▲47 | 5.99 ▲0.13 | 96.29 ▼18.21 | 80.08 ▲33.29 |
Posts /wp-admin/edit.php | 2,118 ▲29 | 2.00 ▼0.00 | 34.48 ▼5.40 | 32.63 ▼5.86 |
Add New Post /wp-admin/post-new.php | 1,541 ▲8 | 20.85 ▼2.12 | 739.94 ▲74.84 | 61.72 ▲13.10 |
Media Library /wp-admin/upload.php | 1,417 ▲29 | 4.15 ▼0.04 | 93.63 ▼7.81 | 71.63 ▲25.88 |
Universal Voice Search /wp-admin/options-general.php?page=universal-voice-search-settings | 1,736 | 2.05 | 28.61 | 48.06 |
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
- The uninstall procedure has failed, leaving 14 options in the database
- theysaidso_admin_options
- uvs_settings_updated_timestamp
- uvs_api_system_key
- uvs_floating_mic_position
- widget_recent-posts
- uvs_uuid
- uvs_selected_language
- can_compress_scripts
- widget_theysaidso_widget
- uvs_mic_listening_timeout
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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
Congratulations! This plugin passed the SRP test
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
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: There are too many tags (11 tag instead of maximum 10)
universal-voice-search/universal-voice-search.php Passed 13 tests
The main PHP script in "Universal Voice Search" version 3.1.2 is automatically included on every request by WordPress
61 characters long description:
Allows any serach box on the page to be searchable via voice.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin6,873 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 363 | 448 | 4,127 |
JavaScript | 14 | 469 | 435 | 1,882 |
CSS | 4 | 149 | 36 | 717 |
SVG | 7 | 1 | 2 | 92 |
PO File | 1 | 7 | 9 | 39 |
JSON | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 18.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 101.00 |
Average method complexity | 3.75 |
▷ 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 | 62 | |
▷ Static methods | 20 | 32.26% |
▷ Public methods | 50 | 80.65% |
▷ Protected methods | 6 | 9.68% |
▷ Private methods | 6 | 9.68% |
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
Using a strong compression for your PNG files is a great way to speed-up 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% |