Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- This plugin did not install gracefully
- > Parse error in wp-content/plugins/fonetic-web-callback/fonetic-web-callback.php+336
syntax error, unexpected 'new' (T_NEW)
Server metrics [RAM: ▼0.01MB] [CPU: ▼14.04ms] Passed 4 tests
This is a short check of server-side resources used by Fonetic Web Callback
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.69 ▲0.83 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.70 ▼21.57 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.91 ▼4.60 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.09 ▼30.80 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.80 ▲2.82 |
Server storage [IO: ▲0.65MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Fonetic Web Callback
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.34 ▼0.01 | 1.88 ▲0.12 | 43.73 ▲2.71 |
Dashboard /wp-admin | 2,198 ▲21 | 5.51 ▼0.17 | 84.34 ▼3.94 | 43.45 ▲2.36 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.94 ▼0.03 | 36.82 ▼0.08 | 37.20 ▲4.26 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 20.86 ▼2.20 | 656.92 ▲10.13 | 49.96 ▼7.01 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.15 ▼0.02 | 97.70 ▼26.73 | 44.67 ▼8.46 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Parse error
syntax error, unexpected 'new' (T_NEW) in wp-content/plugins/fonetic-web-callback/fonetic-web-callback.php on line 336
- > PHP Parse error
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 on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 20 tag instead of maximum 10
fonetic-web-callback/fonetic-web-callback.php 92% from 13 tests
"Fonetic Web Callback" version 2.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 150 characters long)
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
Good job! No executable or dangerous file extensions detected1,225 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 133 | 36 | 766 |
PHP | 1 | 45 | 57 | 236 |
PO File | 2 | 67 | 174 | 201 |
CSS | 1 | 2 | 3 | 12 |
HTML | 2 | 3 | 0 | 10 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/fonetic-logo-widget.png | 9.28KB | 3.11KB | ▼ 66.43% |
images/webcallback.png | 10.21KB | 3.94KB | ▼ 61.46% |
images/fonetic-menu-icon.png | 0.58KB | 0.61KB | 0.00% |
jscolor/hv.png | 2.80KB | 7.32KB | 0.00% |
jscolor/hs.png | 2.62KB | 7.54KB | 0.00% |