Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.17MB] [CPU: ▼1.09ms] Passed 4 tests
Server-side resources used by PIS Tag Manager
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 46.17 ▲6.97 |
Dashboard /wp-admin | 3.47 ▲0.17 | 47.90 ▲1.11 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 53.14 ▲1.98 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 84.88 ▼10.65 |
Media Library /wp-admin/upload.php | 3.40 ▲0.16 | 38.29 ▲3.22 |
Settings /wp-admin/admin.php?page=pis-tag-manager-settings | 3.36 | 32.96 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 23 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
This is an overview of browser requirements for PIS Tag Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,928 ▲182 | 13.59 ▼0.69 | 7.02 ▲5.29 | 46.65 ▲3.42 |
Dashboard /wp-admin | 2,222 ▲33 | 5.85 ▲0.90 | 105.15 ▼10.58 | 38.24 ▼2.22 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 2.05 ▲0.05 | 39.42 ▲2.35 | 35.23 ▼0.64 |
Add New Post /wp-admin/post-new.php | 1,528 ▲14 | 23.44 ▲5.90 | 643.52 ▼38.08 | 69.88 ▲16.60 |
Media Library /wp-admin/upload.php | 1,404 ▲22 | 4.15 ▼0.05 | 93.23 ▼4.47 | 40.82 ▼5.00 |
Settings /wp-admin/admin.php?page=pis-tag-manager-settings | 796 | 2.06 | 24.81 | 23.86 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/pis-tag-manager/public/partials/pis-tag-manager-public-display.php
- > /wp-content/plugins/pis-tag-manager/admin/partials/pis-tag-manager-admin-display.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/pis-tag-manager/admin/partials/pis-tag-manager-admin-settings-display.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Plugin Name: Please specify the plugin name on the first line (
=== pis-tag-manager ===
)
pis-tag-manager/pis-tag-manager.php Passed 13 tests
The main PHP script in "PIS Tag Manager" version 1.0.2 is automatically included on every request by WordPress
70 characters long description:
This plugin is used to enhanced commerce activity by PI Softek Limited
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 detected641 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 228 | 654 | 635 |
JavaScript | 2 | 7 | 53 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
An overview of 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.26 |
Average class complexity | 10.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 2 | 5.88% |
▷ Public methods | 29 | 85.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 14.71% |
Functions | 9 | |
▷ Named functions | 7 | 77.78% |
▷ Anonymous functions | 2 | 22.22% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG files were detected