83% figensoft-elektronik-izin-toplama

Code Review | Figensoft Elektronik İzin Toplama

WordPress plugin Figensoft Elektronik İzin Toplama scored 83% from 54 tests.

About plugin

  • Plugin page: figensoft-elektro...
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.0
  • WordPress version: 6.3.1
  • First release: Jul 4, 2022
  • Latest release: Mar 10, 2023
  • Number of updates: 17
  • Update frequency: every 15.8 days
  • Top authors: tanersahin (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 949 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▼0.70MB] [CPU: ▼21.37ms] Passed 4 tests

This is a short check of server-side resources used by Figensoft Elektronik İzin Toplama
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.39 ▼0.0724.36 ▼16.82
Dashboard /wp-admin3.33 ▲0.0244.20 ▼8.40
Posts /wp-admin/edit.php3.38 ▲0.0242.72 ▼4.71
Add New Post /wp-admin/post-new.php3.14 ▼2.7535.36 ▼55.54
Media Library /wp-admin/upload.php3.25 ▲0.0239.43 ▲3.44

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for Figensoft Elektronik İzin Toplama
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,899 ▲16413.57 ▼1.106.03 ▲4.2943.48 ▼2.68
Dashboard /wp-admin2,224 ▲395.83 ▲0.8894.92 ▼22.9082.75 ▲33.52
Posts /wp-admin/edit.php2,107 ▲181.98 ▼0.0234.15 ▼0.1631.54 ▼3.58
Add New Post /wp-admin/post-new.php1,681 ▲14822.03 ▼1.06754.22 ▲52.1853.08 ▼12.69
Media Library /wp-admin/upload.php1,403 ▲154.19 ▼0.0293.63 ▼17.8460.83 ▲12.63

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • 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 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 trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/figensoft-elektronik-izin-toplama/library/AdminSettings.php:406

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 83% from 29 tests

readme.txt 75% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
  • Tags: You are using too many tags: 12 tag instead of maximum 10
  • Contributors: The plugin contributors field is not present
  • Screenshots: These screenshots lack descriptions #0, #0, #0, #0, #0 in figensoft-elektronik-izin-toplama/assets to your readme.txt
  • Screenshots: These screenshots require images: #1 (screenshot1.jpg), #2 (screenshot2.jpg), #3 (screenshot3.jpg), #4 (screenshot4.jpg), #5 (screenshot5.jpg)
You can look at the official readme.txt

figensoft-elektronik-izin-toplama/FigensoftEitPlugin.php 92% from 13 tests

The primary PHP file in "Figensoft Elektronik İzin Toplama" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("figensoft-elektronik-izin-toplama.php" instead of "FigensoftEitPlugin.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin584 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP25832456
JavaScript1151128

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity15.00
▷ Minimum class complexity15.00
▷ Maximum class complexity15.00
Average method complexity2.08
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods13
▷ Static methods00.00%
▷ Public methods13100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions5
▷ Named functions480.00%
▷ Anonymous functions120.00%
Constants0
▷ Global constants00.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
library/images/izin.png0.80KB0.75KB▼ 6.44%