10% fullcalendar

Code Review | FullCalendar

WordPress plugin FullCalendar scored10%from 54 tests.

About plugin

  • Plugin page: fullcalendar
  • Plugin version: 3.4.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.0-4.9.9
  • WordPress version: 6.3.1
  • First release: Jul 3, 2017
  • Latest release: Feb 15, 2019
  • Number of updates: 5
  • Update frequency: every 119.0 days
  • Top authors: ircf (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /2,786 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
  • The plugin did not install without errors
    • > Warning in wp-content/plugins/fullcalendar/fullcalendar.php+59
    array_merge(): Expected parameter 1 to be an array, null given

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

This is a short check of server-side resources used by FullCalendar
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0242.69 ▼2.53
Dashboard /wp-admin3.37 ▼0.0250.80 ▼13.36
Posts /wp-admin/edit.php3.42 ▲0.0249.04 ▼11.55
Add New Post /wp-admin/post-new.php5.95 ▲0.0288.98 ▼12.74
Media Library /wp-admin/upload.php3.29 ▲0.0237.67 ▲1.54
FullCalendar /wp-admin/options-general.php?page=fullcalendar3.2634.69

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

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

Browser metrics Passed 4 tests

Checking browser requirements for FullCalendar
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,885 ▲12413.92 ▼0.4215.71 ▲13.8942.24 ▼0.75
Dashboard /wp-admin2,196 ▲225.50 ▼0.0484.43 ▼3.1940.07 ▼0.96
Posts /wp-admin/edit.php2,104 ▲72.02 ▲0.0137.48 ▲0.2435.23 ▲0.52
Add New Post /wp-admin/post-new.php1,531 ▲12722.91 ▲5.02689.04 ▲76.7953.98 ▲7.98
Media Library /wp-admin/upload.php1,404 ▲44.17 ▲0.0696.21 ▼21.9647.07 ▼0.97
FullCalendar /wp-admin/options-general.php?page=fullcalendar8281.9923.9126.33

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means 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
The following issues need your attention
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fullcalendar/fullcalendar.php:49

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: agenda, jquery, fullcalendar, ircf, calendar...

fullcalendar/fullcalendar.php Passed 13 tests

The principal PHP file in "FullCalendar" v. 3.4.0 is loaded by WordPress automatically on each request
125 characters long description:
Display and customize one or many Google calendars. This is just a Wordpress wrapper for the fullcalendar Open Source project

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
No dangerous file extensions were detected344 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript333423239
PHP11434103
CSS2082

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.33
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%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin