73% medyum-burak-namaz-vakitleri

Code Review | Medyum Burak Namaz Vakitleri

WordPress plugin Medyum Burak Namaz Vakitleri scored73%from 54 tests.

About plugin

  • Plugin page: medyum-burak-nama...
  • Plugin version: 1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Jun 12, 2019
  • Latest release: Jun 12, 2019
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: medyumburak (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /576 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.16MB] [CPU: ▼42.78ms] Passed 4 tests

A check of server-side resources used by Medyum Burak Namaz Vakitleri
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /4.14 ▲0.6816.60 ▼23.88
Dashboard /wp-admin4.19 ▲0.8420.86 ▼45.02
Posts /wp-admin/edit.php4.19 ▲0.8320.84 ▼27.60
Add New Post /wp-admin/post-new.php4.19 ▼1.7023.04 ▼74.60
Media Library /wp-admin/upload.php4.19 ▲0.9620.94 ▼16.87

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 383 new files
Database: no new tables, 7 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
db_upgraded
widget_theysaidso_widget
widget_namaz_vakitleri_widget
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Medyum Burak Namaz Vakitleri
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,841 ▲5514.71 ▲0.712.87 ▲0.8143.46 ▲0.15
Dashboard /wp-admin2,218 ▲385.67 ▲0.0090.58 ▲2.3137.70 ▼4.98
Posts /wp-admin/edit.php2,123 ▲232.03 ▲0.0438.98 ▲1.8636.33 ▲4.65
Add New Post /wp-admin/post-new.php1,421 ▼10518.02 ▲0.47597.11 ▼127.6448.03 ▼12.62
Media Library /wp-admin/upload.php1,420 ▲174.23 ▲0.0398.03 ▼2.6443.32 ▼1.96

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Uninstall procedure had uncaught errors
    • > Notice in wp-content/plugins/medyum-burak-namaz-vakitleri/inc/namaz-vakitleri-core.php+77
    Trying to access array offset on value of type bool
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • widget_namaz_vakitleri_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded

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
The smoke test was a success, however most plugin functionality was not tested

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
  • 2× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/medyum-burak-namaz-vakitleri/namaz-vakitleri.php:46
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/medyum-burak-namaz-vakitleri/widgets/Namaz_Vakitleri_Minimal_Widget.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
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
These attributes need your attention:
  • Requires at least: Version format is invalid
  • Screenshots: Please add images for these screenshots: #1 (Widget Settings), #2 (On the Site)
Please take inspiration from this readme.txt

medyum-burak-namaz-vakitleri/namaz-vakitleri.php 85% from 13 tests

The entry point to "Medyum Burak Namaz Vakitleri" version 1.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Description: The description should be shorter than 140 characters (currently 212 characters long)
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("medyum-burak-namaz-vakitleri.php" instead of "namaz-vakitleri.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin2,916 lines of code in 379 files:
LanguageFilesBlank linesComment linesLines of code
PHP84691,1952,359
JSON36700367
CSS2230129
JavaScript20061

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.47
Average class complexity61.75
▷ Minimum class complexity3.00
▷ Maximum class complexity223.00
Average method complexity4.60
▷ Minimum method complexity1.00
▷ Maximum method complexity62.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes8
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes00.00%
Methods136
▷ Static methods10.74%
▷ Public methods11181.62%
▷ Protected methods1511.03%
▷ Private methods107.35%
Functions10
▷ Named functions440.00%
▷ Anonymous functions660.00%
Constants22
▷ Global constants22100.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
There were not PNG files found in your plugin