84% agenda-running

Code Review | Epingle Un Dossard

WordPress plugin Epingle Un Dossard scored84%from 54 tests.

About plugin

  • Plugin page: agenda-running
  • Plugin version: 1.8
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.4.1
  • WordPress version: 6.3.1
  • First release: Jan 30, 2016
  • Latest release: Feb 9, 2016
  • Number of updates: 27
  • Update frequency: every 0.4 days
  • Top authors: iazone (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,091 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

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

This is a short check of server-side resources used by Epingle Un Dossard
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.97 ▼0.5016.85 ▼23.59
Dashboard /wp-admin3.50 ▲0.2052.79 ▼3.13
Posts /wp-admin/edit.php3.62 ▲0.2655.14 ▲9.48
Add New Post /wp-admin/post-new.php6.09 ▲0.2096.09 ▲2.11
Media Library /wp-admin/upload.php3.42 ▲0.2036.37 ▼4.34
Ajouter une date /wp-admin/post-new.php?post_type=agenda-running3.5549.32
Toutes les dates /wp-admin/edit.php?post_type=agenda-running3.4741.13

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: no new tables, 9 new options
New WordPress options
can_compress_scripts
widget_recent-comments
theysaidso_admin_options
db_upgraded
widget_agendarunningrp
widget_agendarunningresultats
widget_recent-posts
widget_theysaidso_widget
widget_agendarunningagenda

Browser metrics Passed 4 tests

Checking browser requirements for Epingle Un Dossard
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,845 ▲8413.14 ▼1.242.05 ▲0.0441.83 ▼1.40
Dashboard /wp-admin2,245 ▲425.85 ▼0.03117.60 ▲4.0043.96 ▲8.14
Posts /wp-admin/edit.php2,127 ▲272.02 ▲0.0136.12 ▼2.9634.53 ▼2.76
Add New Post /wp-admin/post-new.php1,563 ▲1823.16 ▲0.03639.17 ▼63.1555.08 ▼24.06
Media Library /wp-admin/upload.php1,427 ▲334.25 ▲0.0199.89 ▼13.0942.61 ▼8.80
Ajouter une date /wp-admin/post-new.php?post_type=agenda-running2,4267.65171.4464.13
Toutes les dates /wp-admin/edit.php?post_type=agenda-running1,1112.0031.7529.88

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • The uninstall procedure has failed, leaving 9 options in the database
    • widget_agendarunningrp
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • widget_agendarunningagenda
    • widget_agendarunningresultats
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Please take a closer look at the following
  • 2× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/agenda-running/agenda-running.php:15
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/agenda-running/widget-agenda-running.php:6

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: chrono, running, agenda, resultats, rp

agenda-running/agenda-running.php Passed 13 tests

The entry point to "Epingle Un Dossard" version 1.8 is a PHP file that has certain tags in its header comment area
69 characters long description:
Ce plugin gère votre calendrier de course, les résultats et vos RP.

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 plugin762 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP2177107621
PO File1283072
JavaScript18339
CSS27530

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.16
Average class complexity12.75
▷ Minimum class complexity4.00
▷ Maximum class complexity37.00
Average method complexity2.88
▷ Minimum method complexity1.00
▷ Maximum method complexity15.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods25
▷ Static methods00.00%
▷ Public methods25100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
13 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
css/images/ui-icons_2e83ff_256x240.png4.44KB4.17KB▼ 6.02%
css/images/ui-icons_cd0a0a_256x240.png4.44KB4.17KB▼ 6.02%
css/images/ui-bg_glass_65_ffffff_1x400.png0.20KB0.09KB▼ 57.49%
css/images/ui-bg_glass_55_fbf9ee_1x400.png0.33KB0.12KB▼ 62.09%
css/images/ui-bg_flat_75_ffffff_40x100.png0.20KB0.08KB▼ 58.17%