84% agenda-doveballiamocom

Code Review | Agenda DoveBalliamo.com

WordPress plugin Agenda DoveBalliamo.com scored84%from 54 tests.

About plugin

  • Plugin page: agenda-doveballia...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.1
  • WordPress version: 6.3.1
  • First release: Jan 7, 2015
  • Latest release: Jan 8, 2015
  • Number of updates: 5
  • Update frequency: every 0.2 days
  • Top authors: doveballiamo (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /694 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼6.86ms] Passed 4 tests

An overview of server-side resources used by Agenda DoveBalliamo.com
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0141.07 ▼8.19
Dashboard /wp-admin3.31 ▲0.0152.53 ▼1.42
Posts /wp-admin/edit.php3.36 ▲0.0152.79 ▲0.88
Add New Post /wp-admin/post-new.php5.89 ▲0.0186.79 ▼18.69
Media Library /wp-admin/upload.php3.23 ▲0.0137.63 ▲1.00

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
theysaidso_admin_options
widget_recent-posts
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for Agenda DoveBalliamo.com
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,834 ▲8813.29 ▼1.122.61 ▲1.0239.31 ▲0.88
Dashboard /wp-admin2,206 ▲185.83 ▼0.04105.82 ▲0.8341.28 ▼4.84
Posts /wp-admin/edit.php2,086 ▼32.01 ▼0.0339.45 ▼1.9537.12 ▼1.76
Add New Post /wp-admin/post-new.php1,514 ▼3117.69 ▼5.24691.65 ▲29.5960.56 ▼5.78
Media Library /wp-admin/upload.php1,391 ▲34.26 ▲0.04103.35 ▼1.5046.22 ▼0.11

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
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/agenda-doveballiamocom/agenda-doveballiamo.php:22

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === agenda-doveballiamocom === )
You can look at the official readme.txt

agenda-doveballiamocom/agenda-doveballiamo.php 92% from 13 tests

The primary PHP file in "Agenda DoveBalliamo.com" version 1.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Main file name: Name the main plugin file the same as the plugin slug ("agenda-doveballiamocom.php" instead of "agenda-doveballiamo.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin24 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP13824

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.50
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
No PNG files were detected