90% disable-featured-image-the-events-calendar

Code Review | Disable Featured Image for The Events Calendar

WordPress plugin Disable Featured Image for The Events Calendar scored90%from 54 tests.

About plugin

  • Plugin page: disable-featured-...
  • Plugin version: 1.0
  • PHP compatiblity: 5.6.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2.0-5.4
  • WordPress version: 6.3.1
  • First release: Oct 24, 2019
  • Latest release: Apr 7, 2020
  • Number of updates: 5
  • Update frequency: every 33.2 days
  • Top authors: WPExplorer (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /584 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

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

This is a short check of server-side resources used by Disable Featured Image for The Events Calendar
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0234.53 ▼4.27
Dashboard /wp-admin3.32 ▼0.0244.17 ▼17.93
Posts /wp-admin/edit.php3.37 ▲0.0242.43 ▼4.31
Add New Post /wp-admin/post-new.php5.90 ▲0.0279.24 ▼19.74
Media Library /wp-admin/upload.php3.24 ▲0.0233.32 ▼2.12

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_recent-posts
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

Disable Featured Image for The Events Calendar: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.28 ▼1.501.72 ▼0.2440.17 ▼3.83
Dashboard /wp-admin2,209 ▲244.85 ▼1.04101.66 ▼3.4138.96 ▼6.33
Posts /wp-admin/edit.php2,089 ▲32.02 ▼0.0337.12 ▼0.3633.09 ▼0.40
Add New Post /wp-admin/post-new.php1,544 ▲3018.58 ▲1.09603.10 ▼68.3557.69 ▲8.65
Media Library /wp-admin/upload.php1,388 ▲64.24 ▲0.1196.51 ▼8.8042.64 ▼5.01

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: tribe calendar, tribe events, calendar

disable-featured-image-the-events-calendar/disable-featured-image-the-events-calendar.php 92% from 13 tests

The main file in "Disable Featured Image for The Events Calendar" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
  • Description: Keep the plugin description shorter than 140 characters (currently 267 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected59 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP2245959

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.50
Average class complexity9.00
▷ Minimum class complexity9.00
▷ Maximum class complexity9.00
Average method complexity2.60
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes1100.00%
Methods5
▷ Static methods00.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.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 images were found in this plugin