Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼1.20MB] [CPU: ▼40.63ms] Passed 4 tests
Analyzing server-side resources used by Tipzty
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.78 ▼0.68 | 16.10 ▼19.86 |
Dashboard /wp-admin | 2.82 ▼0.52 | 19.23 ▼35.53 |
Posts /wp-admin/edit.php | 2.83 ▼0.53 | 17.51 ▼29.06 |
Add New Post /wp-admin/post-new.php | 2.83 ▼3.06 | 16.39 ▼78.06 |
Media Library /wp-admin/upload.php | 2.83 ▼0.40 | 17.32 ▼17.64 |
Server storage [IO: ▲8.00MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 59 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Tipzty
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,426 ▲655 | 14.35 ▲0.00 | 12.05 ▲10.30 | 40.85 ▲0.72 |
Dashboard /wp-admin | 2,251 ▲71 | 5.65 ▼0.02 | 95.52 ▲10.31 | 52.10 ▲12.11 |
Posts /wp-admin/edit.php | 2,156 ▲53 | 2.00 ▼0.00 | 34.10 ▼4.13 | 31.04 ▼1.15 |
Add New Post /wp-admin/post-new.php | 1,581 ▲52 | 22.82 ▼0.17 | 589.58 ▼26.87 | 88.75 ▲26.11 |
Media Library /wp-admin/upload.php | 1,456 ▲53 | 4.19 ▲0.02 | 95.82 ▼8.23 | 40.51 ▼5.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/tipzty/tipzty.php+181
Undefined index: t-add-to-cart
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/tipzty/tipzty.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_email() in wp-content/plugins/tipzty/admin/dashboard.php:174
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/tipzty/admin/dashboard.php on line 119
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: live, video-shopping, video, reviews
tipzty/tipzty.php 92% from 13 tests
The entry point to "Tipzty" version 1.10.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected48,176 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 17 | 8,168 | 142 | 35,305 |
JavaScript | 9 | 3,627 | 1,616 | 12,347 |
PHP | 3 | 69 | 14 | 523 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.77MB with 0.40MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 732.09KB | 241.44KB | ▼ 67.02% |
admin/img/live.png | 24.96KB | 8.85KB | ▼ 64.55% |
admin/img/icon.png | 0.85KB | 0.32KB | ▼ 61.91% |
admin/img/close.png | 2.70KB | 2.69KB | 0.22% |
admin/img/btn.png | 24.84KB | 8.92KB | ▼ 64.12% |