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.00MB] [CPU: ▼4.79ms] Passed 4 tests
A check of server-side resources used by Kosmos eSync Dashboard Connector
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.42 ▼5.64 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.12 ▼3.44 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.39 ▼0.20 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.83 ▼9.87 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.82 ▲1.53 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Kosmos eSync Dashboard Connector
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.28 ▼1.16 | 1.90 ▼0.08 | 46.14 ▲3.42 |
Dashboard /wp-admin | 2,206 ▲18 | 4.86 ▼0.05 | 107.48 ▼9.06 | 42.28 ▼2.87 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▼0.01 | 39.01 ▲2.52 | 35.97 ▲2.16 |
Add New Post /wp-admin/post-new.php | 1,542 ▼0 | 18.55 ▲0.18 | 597.21 ▼54.98 | 58.94 ▲7.22 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.39 ▲0.18 | 94.35 ▼0.80 | 42.13 ▼0.69 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/kosmos-esync-dashboard-connector/public/partials/ked-connector-public-display.php
- > /wp-content/plugins/kosmos-esync-dashboard-connector/admin/partials/ked-connector-admin-display.php
- > /wp-content/plugins/kosmos-esync-dashboard-connector/settings/settings.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 13 tag instead of maximum 10
kosmos-esync-dashboard-connector/ked-connector.php 85% from 13 tests
The entry point to "Kosmos eSync Dashboard Connector" version 1.0.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("4.0" instead of "3.0.0")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("kosmos-esync-dashboard-connector.php" instead of "ked-connector.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected524 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 177 | 668 | 484 |
CSS | 2 | 7 | 9 | 32 |
JavaScript | 2 | 8 | 54 | 8 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 2.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 2 | 5.71% |
▷ Public methods | 29 | 82.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 17.14% |
Functions | 12 | |
▷ Named functions | 12 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/rs-banner.png | 48.84KB | 22.35KB | ▼ 54.25% |
public/images/kosmos_icon.png | 3.06KB | 1.71KB | ▼ 43.97% |
public/images/kosmos_icon_small.png | 0.57KB | 0.50KB | ▼ 10.86% |
public/images/kosmos_logo.png | 6.32KB | 3.71KB | ▼ 41.31% |