10% seo-lexikon

Code Review | Seo-Lexikon

WordPress plugin Seo-Lexikon scored10%from 54 tests.

About plugin

  • Plugin page: seo-lexikon
  • Plugin version: 5.5
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-4.4.2
  • WordPress version: 6.3.1
  • First release: Jan 22, 2015
  • Latest release: Apr 22, 2016
  • Number of updates: 66
  • Update frequency: every 6.9 days
  • Top authors: 3task (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /1,966 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
  • This plugin did not install gracefully
    • > Deprecated in wp-content/plugins/seo-lexikon/seo-lexikon.php+195
    Array and string offset access syntax with curly braces is deprecated

Server metrics [RAM: ▼1.85MB] [CPU: ▼55.69ms] Passed 4 tests

A check of server-side resources used by Seo-Lexikon
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.14 ▼1.334.98 ▼39.47
Dashboard /wp-admin2.16 ▼1.155.61 ▼50.41
Posts /wp-admin/edit.php2.16 ▼1.205.97 ▼46.10
Add New Post /wp-admin/post-new.php2.16 ▼3.736.61 ▼86.79
Media Library /wp-admin/upload.php2.16 ▼1.075.67 ▼33.17
Seo-Lexikon /wp-admin/options-general.php?page=seo-lexikon/seo-lexikon.php2.165.58

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Seo-Lexikon
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5814.48 ▲0.111.79 ▼0.1542.36 ▼3.79
Dashboard /wp-admin2,210 ▲255.85 ▼0.08101.59 ▼16.7244.50 ▲1.05
Posts /wp-admin/edit.php2,093 ▲42.02 ▲0.0338.70 ▲1.4832.90 ▲0.34
Add New Post /wp-admin/post-new.php1,536 ▲1723.11 ▼0.18648.31 ▼12.6054.52 ▲0.16
Media Library /wp-admin/upload.php1,392 ▲14.29 ▲0.07100.42 ▼6.7643.98 ▼4.53
Seo-Lexikon /wp-admin/options-general.php?page=seo-lexikon/seo-lexikon.php8742.0225.2830.05

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • This plugin did not uninstall without warnings or errors
    • > Deprecated in wp-content/plugins/seo-lexikon/seo-lexikon.php+195
    Array and string offset access syntax with curly braces is deprecated
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=seo-lexikon/seo-lexikon.php
    • > Deprecated in wp-content/plugins/seo-lexikon/seo-lexikon.php+195
    Array and string offset access syntax with curly braces is deprecated
    • > GET request to /wp-admin/options-general.php?page=seo-lexikon/seo-lexikon.php
    • > Deprecated in wp-content/plugins/seo-lexikon/inc/wplize.class.php+21
    Methods with the same name as their class will not be constructors in a future version of PHP; WPlize has a deprecated constructor
    • > GET request to /wp-admin/options-general.php?page=seo-lexikon/seo-lexikon.php
    • > Deprecated in wp-includes/class-wp-hook.php+310
    Non-static method seo_lexikon_3task::RegisterAdminPage() should not be called statically
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=seo-lexikon/seo-lexikon.php
    • > User deprecated in wp-includes/functions.php+5737
    Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=seo-lexikon/seo-lexikon.php
    • > Notice in wp-content/plugins/seo-lexikon/inc/wplize.class.php+107
    Trying to access array offset on value of type bool
    • > GET request to /wp-admin/options-general.php?page=seo-lexikon/seo-lexikon.php
    • > Warning in wp-content/plugins/seo-lexikon/seo-lexikon.php+384
    count(): Parameter must be an array or an object that implements Countable
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=seo-lexikon/seo-lexikon.php
    • > Notice in wp-content/plugins/seo-lexikon/seo-lexikon.php+433
    Trying to access array offset on value of type null

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
  • Plugin Name: You should set the name of your plugin on the first line ( === seo-lexikon === )
You can look at the official readme.txt

seo-lexikon/seo-lexikon.php 92% from 13 tests

The primary PHP file in "Seo-Lexikon" version 5.5 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Description: Please keep the plugin description shorter than 140 characters (currently 271 characters long)

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
Good job! No executable or dangerous file extensions detected346 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP216696346

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.48
Average class complexity20.50
▷ Minimum class complexity7.00
▷ Maximum class complexity34.00
Average method complexity3.44
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods16
▷ Static methods00.00%
▷ Public methods16100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin