83% tamindircom-widget

Code Review | Tamindir RSS Bileşeni

WordPress plugin Tamindir RSS Bileşeni scored83%from 54 tests.

About plugin

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

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /3,067 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.01MB] [CPU: ▼6.65ms] Passed 4 tests

This is a short check of server-side resources used by Tamindir RSS Bileşeni
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0043.28 ▲2.18
Dashboard /wp-admin3.31 ▼0.0449.03 ▼13.53
Posts /wp-admin/edit.php3.36 ▲0.0052.17 ▼2.25
Add New Post /wp-admin/post-new.php5.89 ▲0.0095.89 ▼10.63
Media Library /wp-admin/upload.php3.23 ▲0.0037.47 ▼0.20

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

A check of browser resources used by Tamindir RSS Bileşeni
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲6813.27 ▼1.405.28 ▲3.0345.86 ▲0.98
Dashboard /wp-admin2,192 ▲155.53 ▼0.1784.80 ▼4.3737.25 ▼3.36
Posts /wp-admin/edit.php2,100 ▼32.05 ▲0.0639.67 ▼0.9235.31 ▼1.30
Add New Post /wp-admin/post-new.php1,554 ▲14518.58 ▲0.67613.16 ▲34.5762.25 ▲4.97
Media Library /wp-admin/upload.php1,400 ▼04.20 ▼0.0099.52 ▼11.0641.82 ▼6.67

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting 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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/tamindircom-widget/tamindir-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)
There were no browser issues found

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === tamindircom-widget === )
  • Tags: Please delete some tags, you are using 13 tag instead of maximum 10
The official readme.txt might help

tamindircom-widget/tamindir-widget.php 85% from 13 tests

"Tamindir RSS Bileşeni" version 3.1.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("tamindircom-widget.php" instead of "tamindir-widget.php")
  • Description: Keep the plugin description shorter than 140 characters (currently 150 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin359 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
XML200355
PHP1172704

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
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%