68% jajadi-kerktijden

Code Review | JaJaDi Kerktijden

WordPress plugin JaJaDi Kerktijden scored68%from 54 tests.

About plugin

  • Plugin page: jajadi-kerktijden
  • Plugin version: 3.6
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.9
  • WordPress version: 6.3.1
  • First release: Dec 17, 2013
  • Latest release: Jun 21, 2018
  • Number of updates: 30
  • Update frequency: every 55.1 days
  • Top authors: DoubelJ (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,433 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.13MB] [CPU: ▼19.18ms] Passed 4 tests

Server-side resources used by JaJaDi Kerktijden
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0640.31 ▼4.71
Dashboard /wp-admin3.25 ▼0.1035.40 ▼32.91
Posts /wp-admin/edit.php3.31 ▼0.0539.60 ▼19.10
Add New Post /wp-admin/post-new.php5.49 ▼0.3982.38 ▼19.99
Media Library /wp-admin/upload.php3.25 ▲0.0234.28 ▼3.55
Kerktijden /wp-admin/options-general.php?page=jajadi-kerktijden/jajadi-kerktijden-settings.php3.2230.23

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: 1 new table, 7 new options
New tables
wp_jajadi_kerktijden
New WordPress options
db_upgraded
widget_recent-posts
theysaidso_admin_options
jajadi_kerktijden_db_version
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for JaJaDi Kerktijden
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.69 ▲0.321.82 ▲0.1044.89 ▲5.62
Dashboard /wp-admin2,199 ▲225.51 ▼0.1286.45 ▼11.9139.83 ▼2.11
Posts /wp-admin/edit.php2,107 ▲71.96 ▲0.0244.69 ▲4.7037.12 ▲0.25
Add New Post /wp-admin/post-new.php1,530 ▲423.51 ▲0.49621.97 ▼86.2649.78 ▼1.55
Media Library /wp-admin/upload.php1,407 ▲74.22 ▼0.02103.29 ▼2.3743.82 ▼4.73
Kerktijden /wp-admin/options-general.php?page=jajadi-kerktijden/jajadi-kerktijden-settings.php8962.0023.2134.64

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • Zombie tables detected upon uninstall: 1 table
    • wp_jajadi_kerktijden
  • Zombie WordPress options were found after uninstall: 7 options
    • jajadi_kerktijden_db_version
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
    • > GET request to /wp-admin/options-general.php?page=jajadi-kerktijden/jajadi-kerktijden-settings.php
    • > User deprecated in wp-includes/functions.php+5828
    Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/jajadi-kerktijden/jajadi-kerktijden-settings-style.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/jajadi-kerktijden/jajadi-kerktijden-about.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jajadi-kerktijden/jajadi-kerktijden-settings.php:11
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/jajadi-kerktijden/jajadi-kerktijden-functions.php:196
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/jajadi-kerktijden/jajadi-kerktijden.php:36

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 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: dutch, kerken, kerk, kerktijden, nederlands...

jajadi-kerktijden/jajadi-kerktijden.php 92% from 13 tests

The entry point to "JaJaDi Kerktijden" version 3.6 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Domain Path: The domain path points to an invalid folder, "/languages/" does not exist

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin291 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP57491286
JavaScript1215

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.19
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%
Functions13
▷ Named functions13100.00%
▷ Anonymous functions00.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
No PNG files were detected