73% artemis-stellenanzeigen

Code Review | Artemis Stellenanzeigen

WordPress plugin Artemis Stellenanzeigen scored73%from 54 tests.

About plugin

  • Plugin page: artemis-stellenan...
  • Plugin version: 1.1.0
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2.6-5.8
  • WordPress version: 6.3.1
  • First release: Jul 9, 2020
  • Latest release: Sep 30, 2021
  • Number of updates: 13
  • Update frequency: every 34.5 days
  • Top authors: aveosolutions (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /531 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.07MB] [CPU: ▲0.46ms] Passed 4 tests

This is a short check of server-side resources used by Artemis Stellenanzeigen
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0639.27 ▼6.20
Dashboard /wp-admin3.38 ▲0.0751.08 ▲0.57
Posts /wp-admin/edit.php3.49 ▲0.1355.49 ▲7.94
Add New Post /wp-admin/post-new.php5.96 ▲0.0796.04 ▲5.62
Media Library /wp-admin/upload.php3.30 ▲0.0739.10 ▲1.85
Artemis Stellenanzeigen /wp-admin/options-general.php?page=artemis-wp-plugin3.2432.88

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

A check of browser resources used by Artemis Stellenanzeigen
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,806 ▲6013.23 ▼1.071.92 ▲0.1541.15 ▼1.18
Dashboard /wp-admin2,210 ▲254.87 ▼0.96101.13 ▼16.4141.49 ▼0.35
Posts /wp-admin/edit.php2,093 ▲42.04 ▲0.0239.25 ▼1.3035.83 ▼0.82
Add New Post /wp-admin/post-new.php1,539 ▲623.13 ▲0.04633.60 ▼79.2049.56 ▼10.28
Media Library /wp-admin/upload.php1,395 ▲74.18 ▼0.02102.58 ▲0.7148.03 ▲4.18
Artemis Stellenanzeigen /wp-admin/options-general.php?page=artemis-wp-plugin8392.0222.9127.60

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded

Smoke tests 25% 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
  • 6 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=artemis-wp-plugin
    • > Notice in wp-content/plugins/artemis-stellenanzeigen/artemis-stellenanzeigen-options.php+88
    Trying to access array offset on value of type bool

SRP 0% 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 fix the following items
  • 2× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/artemis-stellenanzeigen/index.php
    • > /wp-content/plugins/artemis-stellenanzeigen/artemis-stellenanzeigen.php
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/artemis-stellenanzeigen/artemis-stellenanzeigen-options.php:5

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
  • Donate link: Invalid url: ""
The official readme.txt might help

artemis-stellenanzeigen/artemis-stellenanzeigen.php Passed 13 tests

The primary PHP file in "Artemis Stellenanzeigen" version 1.1.0 is used by WordPress to initiate all plugin functionality
59 characters long description:
Holt offene Stellenanzeigen über Artemis und gibt sie aus.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected514 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP48316313
CSS1394179
JSON10022

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.27
Average class complexity14.00
▷ Minimum class complexity12.00
▷ Maximum class complexity16.00
Average method complexity4.71
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods7
▷ Static methods00.00%
▷ Public methods7100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions14
▷ Named functions14100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin