Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼4.38ms] Passed 4 tests
This is a short check of server-side resources used by WP PLC Tag
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.41 ▼1.16 |
Dashboard /wp-admin | 3.31 ▼0.04 | 43.21 ▼17.58 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.10 ▲0.35 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 94.16 ▲0.86 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.71 ▲1.25 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WP PLC Tag
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.59 ▼0.79 | 1.47 ▼0.27 | 37.01 ▼5.61 |
Dashboard /wp-admin | 2,209 ▲21 | 4.83 ▼0.98 | 104.47 ▼11.29 | 39.68 ▼3.92 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.08 | 40.75 ▲2.90 | 35.33 ▼0.42 |
Add New Post /wp-admin/post-new.php | 1,514 ▼6 | 17.57 ▼5.61 | 663.43 ▲30.79 | 55.88 ▲0.33 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.17 ▼0.03 | 95.96 ▼9.03 | 42.58 ▼0.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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 perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-plc-tag/includes/view/partials/tag-list.php
- 9× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-plc-tag/includes/view/settings/elementor.php:2
- > PHP Warning
Use of undefined constant WPPLC_TAG_MAIN_FILE - assumed 'WPPLC_TAG_MAIN_FILE' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-plc-tag/includes/loader.php on line 28
- > PHP Notice
Undefined variable: aItems in wp-content/plugins/wp-plc-tag/includes/view/partials/tag-list.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-plc-tag/includes/view/settings/general.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wp-plc-tag/includes/view/settings.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function OnePlace\\Tag\\Modules\\add_action() in wp-content/plugins/wp-plc-tag/includes/Modules/Settings.php:32
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-plc-tag/includes/view/partials/tag-list.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/wp-plc-tag/includes/elementor/widgets/tag-list.php:22
- > PHP Notice
Undefined variable: aSettings in wp-content/plugins/wp-plc-tag/includes/view/partials/tag-list.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: oneplace, elementor, api
wp-plc-tag/wp-plc-tag.php Passed 13 tests
The entry point to "WP PLC Tag" version 1.0.1 is a PHP file that has certain tags in its header comment area
69 characters long description:
onePlace Tags for Wordpress. Widgets and Shortcodes for onePlace Tags
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
No dangerous file extensions were detected455 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 86 | 325 | 455 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 3 | 75.00% |
Methods | 24 | |
▷ Static methods | 4 | 16.67% |
▷ Public methods | 21 | 87.50% |
▷ Protected methods | 3 | 12.50% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon.png | 0.79KB | 0.48KB | ▼ 39.11% |