WordPress plugin OnDestek scored83%from 54 tests.

About plugin

  • Plugin page: ondestek-online-d...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.8
  • WordPress version: 6.3.1
  • First release: Oct 20, 2017
  • Latest release: Oct 20, 2017
  • Number of updates: 9
  • Update frequency: every 94.3 days
  • Top authors: wmedya (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /2,017 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0139.51 ▲1.39
Dashboard /wp-admin3.33 ▲0.0246.56 ▼1.80
Posts /wp-admin/edit.php3.38 ▲0.0243.90 ▼5.46
Add New Post /wp-admin/post-new.php5.91 ▲0.0282.06 ▼12.01
Media Library /wp-admin/upload.php3.25 ▲0.0233.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲1414.26 ▼0.091.71 ▼0.1244.46 ▲2.37
Dashboard /wp-admin2,191 ▲145.58 ▼0.1295.08 ▲9.4684.83 ▲42.62
Posts /wp-admin/edit.php2,114 ▲142.00 ▼0.1035.49 ▼2.4931.12 ▼4.48
Add New Post /wp-admin/post-new.php1,550 ▲2423.13 ▼0.34683.76 ▲12.97162.54 ▲107.90
Media Library /wp-admin/upload.php1,414 ▲144.10 ▼0.1396.69 ▼14.1966.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
Please take inspiration from this readme.txt

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:
LanguageFilesBlank linesComment linesLines of code
PHP1111094
CSS26843
JavaScript40254

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 code0.32
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions6
▷ Named functions583.33%
▷ Anonymous functions116.67%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
FileSize - originalSize - compressedSavings
favicon_16.png15.24KB0.58KB▼ 96.17%
favicon.png41.85KB0.37KB▼ 99.11%
logo_footer.png0.79KB0.82KB0.00%
visual_composer.png0.40KB0.41KB0.00%
logo.png3.28KB2.61KB▼ 20.46%