Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/wp-tag-magic/wp-tag-magic.php+57
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼1.87MB] [CPU: ▼57.39ms] Passed 4 tests
An overview of server-side resources used by Wp Tag Magic Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.12 ▼1.34 | 4.72 ▼35.30 |
Dashboard /wp-admin | 2.14 ▼1.16 | 5.54 ▼49.17 |
Posts /wp-admin/edit.php | 2.14 ▼1.22 | 5.63 ▼46.12 |
Add New Post /wp-admin/post-new.php | 2.14 ▼3.75 | 8.03 ▼98.95 |
Media Library /wp-admin/upload.php | 2.14 ▼1.09 | 6.05 ▼30.43 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_tagcloud |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Wp Tag Magic Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲56 | 13.29 ▼1.01 | 4.59 ▲2.72 | 41.13 ▼5.06 |
Dashboard /wp-admin | 2,209 ▲18 | 5.89 ▼0.01 | 101.56 ▼7.31 | 40.12 ▼6.10 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.04 ▼0.01 | 34.71 ▼5.24 | 33.77 ▼3.94 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.00 ▼0.17 | 688.95 ▲22.47 | 53.18 ▼12.25 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.21 ▼0.03 | 110.45 ▲3.77 | 47.68 ▼1.14 |
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
Please fix the following items
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/wp-tag-magic/wp-tag-magic.php+57
Array and string offset access syntax with curly braces is deprecated
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_tagcloud
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wp-tag-magic/wp-tag-magic.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
4 plugin tags: category, tag, cloud, widget
wp-tag-magic/wp-tag-magic.php Passed 13 tests
The main PHP script in "Wp Tag Magic Widget" version 1.0 is automatically included on every request by WordPress
81 characters long description:
Adds a sidebar widget or shortcode to display selected categories as a tag cloud.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected433 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 3 | 4 | 227 |
PHP | 1 | 30 | 26 | 206 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 34.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 9.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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 were not PNG files found in your plugin