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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.43ms] Passed 4 tests
Analyzing server-side resources used by Hand Talk
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 48.18 ▲4.98 |
Dashboard /wp-admin | 3.35 ▲0.05 | 48.43 ▲0.50 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 43.39 ▼5.85 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 97.62 ▼9.78 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.56 ▲1.42 |
Hand Talk /wp-admin/options-general.php?page=wpht | 3.24 | 34.64 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Hand Talk
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲166 | 16.86 ▲2.58 | 59.97 ▲57.76 | 43.61 ▲6.18 |
Dashboard /wp-admin | 2,213 ▲25 | 4.91 ▼0.19 | 101.75 ▼8.30 | 54.42 ▲7.14 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.03 | 37.29 ▼3.51 | 34.71 ▼0.38 |
Add New Post /wp-admin/post-new.php | 1,547 ▲14 | 18.35 ▼5.07 | 629.40 ▲21.25 | 66.06 ▲18.66 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.20 ▲0.04 | 94.85 ▼6.52 | 42.17 ▲0.49 |
Hand Talk /wp-admin/options-general.php?page=wpht | 840 | 2.07 | 27.80 | 26.16 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/handtalk/wpht.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: hand talk, acessibilidade, surdos, libras
handtalk/wpht.php 69% from 13 tests
"Hand Talk" version 3.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Domain Path: The domain path folder was not found ("/languages/")
- Description: Please keep the plugin description shorter than 140 characters (currently 193 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("handtalk.php" instead of "wpht.php")
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
There were no executable files found in this plugin198 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 21 | 10 | 163 |
CSS | 1 | 2 | 0 | 25 |
JavaScript | 1 | 2 | 0 | 10 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 1 | 6.25% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.12MB with 0.07MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/computer.png | 104.43KB | 29.87KB | ▼ 71.40% |
images/icon-48x48.png | 6.19KB | 2.02KB | ▼ 67.43% |
images/icon.png | 7.29KB | 3.38KB | ▼ 53.64% |