89% docollipics-faustball-de

Code Review | Tabellen von faustball.com

WordPress plugin Tabellen von faustball.com scored 89% from 54 tests.

About plugin

  • Plugin page: docollipics-faust...
  • Plugin version: 2.0.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9.0-5.9
  • WordPress version: 6.3.1
  • First release: May 16, 2018
  • Latest release: Feb 21, 2022
  • Number of updates: 70
  • Update frequency: every 19.7 days
  • Top authors: docolli (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active / 1,271 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.02MB] [CPU: ▼2.85ms] Passed 4 tests

An overview of server-side resources used by Tabellen von faustball.com
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.89 ▼2.17
Dashboard /wp-admin3.33 ▲0.0247.25 ▼5.23
Posts /wp-admin/edit.php3.38 ▲0.0248.67 ▼5.99
Add New Post /wp-admin/post-new.php5.91 ▲0.0294.57 ▲3.61
Media Library /wp-admin/upload.php3.25 ▲0.0236.06 ▲1.98
Tabellen von faustball.com /wp-admin/options-general.php?page=docollipics_faustball_de3.2330.96

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 18 new options
New WordPress options
widget_recent-comments
faustball_de_header_team
faustball_de_header_matches
faustball_de_header_rank
faustball_de_cachettl
faustball_de_shortcode_html_widget
faustball_de_header_points
faustball_de_header_balls
widget_theysaidso_widget
faustball_de_ownteam
...

Browser metrics Passed 4 tests

Tabellen von faustball.com: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲9413.11 ▼1.205.06 ▲3.2046.42 ▼0.73
Dashboard /wp-admin2,207 ▲165.80 ▼0.0997.27 ▼17.5442.18 ▼1.55
Posts /wp-admin/edit.php2,090 ▲12.02 ▲0.0138.86 ▲4.5433.90 ▼0.63
Add New Post /wp-admin/post-new.php1,536 ▲723.23 ▲4.75646.96 ▲12.4046.00 ▼10.58
Media Library /wp-admin/upload.php1,392 ▲104.18 ▼0.0392.02 ▼7.6340.63 ▼5.77
Tabellen von faustball.com /wp-admin/options-general.php?page=docollipics_faustball_de1,3491.6925.8031.99

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: faustball, shortcode, table

docollipics-faustball-de/plugin.php 85% from 13 tests

This is the main PHP file of "Tabellen von faustball.com" version 2.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("docollipics-faustball-de.php" instead of "plugin.php")
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 173 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin726 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP3116103726

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.23
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%
Functions11
▷ Named functions11100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.26MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/table_1.png50.86KB16.74KB▼ 67.09%
assets/help_css_table_2.png42.04KB13.88KB▼ 66.99%
assets/screenshot-1.png50.82KB16.80KB▼ 66.94%
assets/help_css_table_3.png37.10KB12.12KB▼ 67.34%
assets/help_css_table_4.png34.56KB11.49KB▼ 66.75%