Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.46MB] [CPU: ▲1.22ms] Passed 4 tests
Analyzing server-side resources used by Lewe Jira Connector
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.95 ▲0.49 | 43.32 ▲0.47 |
Dashboard /wp-admin | 3.79 ▲0.49 | 52.11 ▲1.05 |
Posts /wp-admin/edit.php | 3.84 ▲0.49 | 52.72 ▲0.12 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.45 | 106.56 ▲19.40 |
Media Library /wp-admin/upload.php | 3.65 ▲0.42 | 38.23 ▲3.24 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=jira_host | 3.65 | 42.75 |
Options /wp-admin/admin.php?page=lewe-jira-connector/admin/partials/lewe-jira-connector-admin-options.php | 3.97 | 50.65 |
Add New /wp-admin/post-new.php?post_type=jira_host | 3.72 | 48.79 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=jira_host | 3.65 | 38.22 |
License /wp-admin/admin.php?page=lewe-jira-connector/admin/partials/lewe-jira-connector-admin-license.php | 3.68 | 36.35 |
Jira Hosts /wp-admin/edit.php?post_type=jira_host | 3.77 | 43.95 |
Server storage [IO: ▲4.23MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 69 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
category_children |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Lewe Jira Connector: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,976 ▲215 | 13.38 ▼1.33 | 7.50 ▲5.63 | 42.45 ▼3.51 |
Dashboard /wp-admin | 2,267 ▲90 | 5.57 ▼0.10 | 92.77 ▼8.28 | 79.26 ▲34.58 |
Posts /wp-admin/edit.php | 2,175 ▲72 | 1.98 ▲0.01 | 36.83 ▼0.04 | 33.10 ▼5.67 |
Add New Post /wp-admin/post-new.php | 1,591 ▲62 | 22.82 ▼0.11 | 708.38 ▲67.04 | 54.86 ▼2.18 |
Media Library /wp-admin/upload.php | 1,472 ▲72 | 4.18 ▼0.10 | 100.22 ▼3.89 | 73.01 ▲27.65 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=jira_host | 1,527 | 2.28 | 26.29 | 35.97 |
Options /wp-admin/admin.php?page=lewe-jira-connector/admin/partials/lewe-jira-connector-admin-options.php | 1,746 | 2.01 | 24.23 | 76.00 |
Add New /wp-admin/post-new.php?post_type=jira_host | 1,801 | 2.73 | 54.96 | 68.13 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=jira_host | 1,388 | 2.13 | 27.31 | 35.33 |
License /wp-admin/admin.php?page=lewe-jira-connector/admin/partials/lewe-jira-connector-admin-license.php | 938 | 1.99 | 25.89 | 49.21 |
Jira Hosts /wp-admin/edit.php?post_type=jira_host | 1,220 | 1.94 | 32.36 | 30.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- category_children
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/post-new.php?post_type=jira_host
- > Notice in wp-content/plugins/lewe-jira-connector/admin/partials/lewe-jira-connector-jira-host-meta-box.php+44
Undefined variable: display
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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/lewe-jira-connector/public/partials/public-display.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/lewe-jira-connector/admin/partials/lewe-jira-connector-admin-test-jira-login.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
1 plugin tags: lewe jira connector interface issue ticket
lewe-jira-connector/lewe-jira-connector.php 85% from 13 tests
The main PHP script in "Lewe Jira Connector" version 2.7.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 145 characters long)
- Requires at least: The required version number did not match the one declared in readme.txt ("4.0" instead of "5.2")
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Almost there! Just fix the following issues
- You should never include executable (binary) or otherwise dangerous files in your plugin
- .cmd - Command Script in Windows
- ☣ wp-content/plugins/lewe-jira-connector/makepot.cmd
- .cmd - Command Script in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 0 | 9,546 |
CSS | 4 | 2,093 | 116 | 7,428 |
PHP | 19 | 409 | 1,581 | 2,631 |
JavaScript | 3 | 56 | 138 | 91 |
DOS Batch | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 4.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 81 | |
▷ Static methods | 2 | 2.47% |
▷ Public methods | 73 | 90.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 9.88% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 14 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
15 PNG files occupy 0.97MB with 0.63MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
global/images/screenshot-3.png | 97.37KB | 31.96KB | ▼ 67.18% |
global/images/screenshot-1.png | 103.63KB | 35.39KB | ▼ 65.85% |
global/images/screenshot-5.png | 82.92KB | 29.36KB | ▼ 64.59% |
global/images/banner-772x250.png | 101.90KB | 40.15KB | ▼ 60.60% |
global/images/screenshot-4.png | 80.60KB | 27.69KB | ▼ 65.64% |