Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/qtext-x-widget/qtext-x-widget.php+27
Methods with the same name as their class will not be constructors in a future version of PHP; qTextxWidget has a deprecated constructor
Server metrics [RAM: ▼1.92MB] [CPU: ▼53.72ms] Passed 4 tests
Server-side resources used by qText X Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.39 | 4.85 ▼36.94 |
Dashboard /wp-admin | 2.10 ▼1.25 | 5.41 ▼53.60 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 6.53 ▼41.60 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 5.26 ▼82.72 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 5.46 ▼26.72 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by qText X Widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.24 ▼1.19 | 1.68 ▼0.15 | 46.94 ▲7.28 |
Dashboard /wp-admin | 2,206 ▲24 | 5.86 ▼0.01 | 102.32 ▼11.10 | 38.97 ▼4.25 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.00 ▼0.01 | 39.94 ▼0.05 | 35.74 ▼1.40 |
Add New Post /wp-admin/post-new.php | 1,533 ▲12 | 23.27 ▼0.03 | 682.93 ▲15.79 | 59.24 ▲5.09 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.24 ▲0.06 | 96.60 ▼0.58 | 40.99 ▼0.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/qtext-x-widget/qtext-x-widget.php+27
Methods with the same name as their class will not be constructors in a future version of PHP; qTextxWidget has a deprecated constructor
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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 take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/qtext-x-widget/qtext-x-widget.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: widget, admin, translation, language, multilingual...
qtext-x-widget/qtext-x-widget.php Passed 13 tests
"qText X Widget" version 2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
44 characters long description:
Multilingual Text Widget For Wordpress 4.x.x
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected66 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 4 | 25 | 66 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 3.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 | 0 | 0.00% |
▷ Public methods | 5 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin