Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.04ms] Passed 4 tests
Server-side resources used by OnDestek
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 39.51 ▲1.39 |
Dashboard /wp-admin | 3.33 ▲0.02 | 46.56 ▼1.80 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 43.90 ▼5.46 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 82.06 ▼12.01 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.01 ▼4.90 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
ondestek_switch |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
ondestek_script |
Browser metrics Passed 4 tests
A check of browser resources used by OnDestek
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲14 | 14.26 ▼0.09 | 1.71 ▼0.12 | 44.46 ▲2.37 |
Dashboard /wp-admin | 2,191 ▲14 | 5.58 ▼0.12 | 95.08 ▲9.46 | 84.83 ▲42.62 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 2.00 ▼0.10 | 35.49 ▼2.49 | 31.12 ▼4.48 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 23.13 ▼0.34 | 683.76 ▲12.97 | 162.54 ▲107.90 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.10 ▼0.13 | 96.69 ▼14.19 | 66.44 ▲20.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/ondestek-online-destek-sistemi/ondestek.php
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)
There were no browser issues found
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 75% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Donate link: Invalid url: ""
- Plugin Name: Please specify the plugin name on the first line (
=== ondestek-online-destek-sistemi ===
) - Contributors: Please add at least on tag
- Contributors: The plugin contributors field is missing
ondestek-online-destek-sistemi/ondestek.php 85% from 13 tests
The principal PHP file in "OnDestek" v. 1.0 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ondestek-online-destek-sistemi.php" instead of "ondestek.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
There were no executable files found in this plugin141 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 11 | 10 | 94 |
CSS | 2 | 6 | 8 | 43 |
JavaScript | 4 | 0 | 25 | 4 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
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
5 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
favicon_16.png | 15.24KB | 0.58KB | ▼ 96.17% |
favicon.png | 41.85KB | 0.37KB | ▼ 99.11% |
logo_footer.png | 0.79KB | 0.82KB | 0.00% |
visual_composer.png | 0.40KB | 0.41KB | 0.00% |
logo.png | 3.28KB | 2.61KB | ▼ 20.46% |