Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼13.42ms] Passed 4 tests
Server-side resources used by TextUs.Biz Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.40 ▼0.06 | 27.07 ▼23.17 |
Dashboard /wp-admin | 3.33 ▼0.02 | 48.42 ▼19.93 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.77 ▼3.80 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 95.32 ▼6.77 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 42.15 ▲6.38 |
TextUs.Biz Widget /wp-admin/options-general.php?page=textus_widget | 3.19 | 30.26 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by TextUs.Biz Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲37 | 14.27 ▼0.11 | 2.51 ▲0.22 | 36.58 ▼1.53 |
Dashboard /wp-admin | 2,193 ▲19 | 5.57 ▼0.11 | 88.50 ▼11.42 | 38.72 ▼5.22 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.16 ▲0.01 | 33.83 ▼0.63 | 35.57 ▼1.52 |
Add New Post /wp-admin/post-new.php | 1,529 ▼8 | 17.60 ▼5.50 | 683.50 ▲1.80 | 55.56 ▲0.71 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.21 ▼0.03 | 96.04 ▼3.61 | 42.40 ▼3.68 |
TextUs.Biz Widget /wp-admin/options-general.php?page=textus_widget | 845 | 2.05 | 27.17 | 30.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 8 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=textus_widget
- > Notice in wp-content/plugins/textusbiz-widget/textusbiz.php+92
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/textusbiz-widget/textusbiz.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== textusbiz-widget ===
) - Donate link: Invalid URI ("")
textusbiz-widget/textusbiz.php 85% from 13 tests
"TextUs.Biz Widget" version 0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Description: Please improve your description making it at least 10 characters long (currently 0 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("textusbiz-widget.php" instead of "textusbiz.php")
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
There were no executable files found in this plugin67 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 24 | 26 | 67 |
PHP code Passed 2 tests
Analyzing 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.13 |
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 | 8 | |
▷ Named functions | 8 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin