Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/tayori/includes/tayori.php+59
Undefined variable: tayori_db_version
Server metrics [RAM: ▼1.12MB] [CPU: ▼37.67ms] Passed 4 tests
An overview of server-side resources used by Tayori Form Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.39 | 5.07 ▼36.91 |
Dashboard /wp-admin | 3.15 ▼0.16 | 26.44 ▼26.16 |
Posts /wp-admin/edit.php | 3.15 ▼0.21 | 28.63 ▼22.64 |
Add New Post /wp-admin/post-new.php | 3.15 ▼2.74 | 25.56 ▼64.95 |
Media Library /wp-admin/upload.php | 3.15 ▼0.08 | 26.91 ▼8.64 |
Mail Setting /wp-admin/admin.php?page=tayori-mail-setting | 3.15 | 31.39 |
Tayori /wp-admin/admin.php?page=tayori/admin/admin.php | 3.15 | 29.10 |
Server storage [IO: ▲1.44MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 123 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_tayori |
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
tayori_db_version |
Browser metrics Passed 4 tests
Checking browser requirements for Tayori Form Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,208 ▲383 | 17.21 ▲3.98 | 35.32 ▲33.22 | 48.66 ▲3.93 |
Dashboard /wp-admin | 2,233 ▲27 | 4.86 ▼0.01 | 114.00 ▲0.02 | 45.25 ▼0.48 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 1.97 ▼0.07 | 37.69 ▼3.93 | 34.76 ▼3.36 |
Add New Post /wp-admin/post-new.php | 1,536 ▼6 | 17.81 ▼0.56 | 706.40 ▲52.53 | 63.23 ▲5.26 |
Media Library /wp-admin/upload.php | 1,409 ▲24 | 4.23 ▲0.03 | 96.78 ▼6.42 | 41.25 ▼2.46 |
Mail Setting /wp-admin/admin.php?page=tayori-mail-setting | 864 | 1.92 | 29.63 | 79.51 |
Tayori /wp-admin/admin.php?page=tayori/admin/admin.php | 2,114 | 2.19 | 39.90 | 105.36 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 14 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=tayori/admin/admin.php
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=tayori/admin/admin.php
- > Notice in wp-content/plugins/tayori/admin/admin.php+659
Undefined variable: validate_data
SRP 0% 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
The following issues need your attention
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/tayori/form.php
- > /wp-content/plugins/tayori/includes/form_chat_sp.php
- > /wp-content/plugins/tayori/includes/form.php
- > /wp-content/plugins/tayori/includes/form_chat_pc.php
- 10× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined index: HTTP_ACCEPT_LANGUAGE in wp-content/plugins/tayori/includes/language.php on line 2
- > PHP Notice
Undefined index: HTTP_ACCEPT_LANGUAGE in wp-content/plugins/tayori/includes/language.php on line 2
- > PHP Notice
Undefined index: HTTP_ACCEPT_LANGUAGE in wp-content/plugins/tayori/includes/language.php on line 2
- > PHP Warning
Use of undefined constant TAYORI_PLUGIN_DIR - assumed 'TAYORI_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/tayori/settings.php on line 3
- > PHP Warning
require_once(TAYORI_PLUGIN_DIR/includes/functions.php): failed to open stream: No such file or directory in wp-content/plugins/tayori/settings.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/tayori/admin/admin.php:3
- > PHP Fatal error
require_once(): Failed opening required 'TAYORI_PLUGIN_DIR/includes/functions.php' (include_path='.:/usr/share/php') in wp-content/plugins/tayori/settings.php on line 3
- > PHP Notice
Undefined index: HTTP_REFERER in wp-content/plugins/tayori/includes/sendmail.php on line 3
- > PHP Notice
Undefined index: HTTP_ACCEPT_LANGUAGE in wp-content/plugins/tayori/includes/language.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/tayori/form.php:325
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: Please add an image for screenshot #1 (Tayori button configuration menu.)
tayori/tayori.php Passed 13 tests
Analyzing the main PHP file in "Tayori Form Plugin" version 1.2.9
33 characters long description:
Tayori Form Plugin For WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin28,517 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 2,807 | 183 | 21,319 |
PHP | 13 | 247 | 32 | 4,591 |
JavaScript | 7 | 101 | 322 | 2,385 |
PO File | 1 | 73 | 86 | 153 |
SVG | 3 | 0 | 2 | 42 |
XML | 2 | 0 | 0 | 26 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.66 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 5 | |
▷ Static methods | 4 | 80.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.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
84 PNG files occupy 0.22MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/29.png | 2.24KB | 1.20KB | ▼ 46.27% |
images/simple-button-icon.png | 1.27KB | 0.63KB | ▼ 50.42% |
images/35.png | 2.63KB | 1.49KB | ▼ 43.27% |
images/thumb_sp_pop_1.png | 2.18KB | 0.70KB | ▼ 67.79% |
images/icn_gray.png | 1.24KB | 0.37KB | ▼ 70.38% |