83% oyunkolucom-widget

Code Review | OyunKolu RSS Bileşeni

WordPress plugin OyunKolu RSS Bileşeni scored 83% from 54 tests.

About plugin

  • Plugin page: oyunkolucom-widget
  • Plugin version: 3.1.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.5.0
  • WordPress version: 6.3.1
  • First release: Apr 25, 2012
  • Latest release: Jul 19, 2013
  • Number of updates: 24
  • Update frequency: every 18.8 days
  • Top authors: Tamindir (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,334 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.00MB] [CPU: ▼4.85ms] Passed 4 tests

Analyzing server-side resources used by OyunKolu RSS Bileşeni
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0046.18 ▲6.50
Dashboard /wp-admin3.31 ▲0.0048.44 ▼0.70
Posts /wp-admin/edit.php3.36 ▲0.0046.03 ▼5.69
Add New Post /wp-admin/post-new.php5.89 ▲0.0085.56 ▼14.66
Media Library /wp-admin/upload.php3.23 ▲0.0036.85 ▲1.67

Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
db_upgraded
theysaidso_admin_options
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

OyunKolu RSS Bileşeni: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6514.80 ▲0.491.71 ▲0.0241.61 ▼5.90
Dashboard /wp-admin2,209 ▲215.88 ▲1.0396.12 ▼6.8638.06 ▼2.90
Posts /wp-admin/edit.php2,086 ▼32.05 ▲0.0636.60 ▲0.0332.14 ▲1.89
Add New Post /wp-admin/post-new.php1,533 ▼023.00 ▼0.42595.08 ▼30.0662.01 ▼9.02
Media Library /wp-admin/upload.php1,388 ▼04.19 ▼0.0397.37 ▼16.2441.52 ▼4.79

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
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/oyunkolucom-widget/oyunkolu-widget.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)
No browser errors were detected

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === oyunkolucom-widget === )
The official readme.txt might help

oyunkolucom-widget/oyunkolu-widget.php 85% from 13 tests

The main PHP file in "OyunKolu RSS Bileşeni" ver. 3.1.4 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 151 characters long)
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("oyunkolucom-widget.php" instead of "oyunkolu-widget.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected26 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
XML10022
PHP1142574

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code1.00
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%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.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
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/tamindir_logo.png4.06KB2.00KB▼ 50.69%
images/video_ikon.png1.70KB0.96KB▼ 43.32%
images/tamindir_logo_eski.png4.17KB2.21KB▼ 47.04%