10% recent-meetupcom-checkins

Code Review | Recent Meetup.com Checkins

WordPress plugin Recent Meetup.com Checkins scored10%from 54 tests.

About plugin

  • Plugin page: recent-meetupcom-...
  • Plugin version: 0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.2-3.5
  • WordPress version: 6.3.1
  • First release: Dec 25, 2012
  • Latest release: Dec 25, 2012
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: bradparbs (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /778 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
  • The plugin did not install without errors
    • > Deprecated in wp-content/plugins/recent-meetupcom-checkins/meetupcheckins.php+117
    Function create_function() is deprecated

Server metrics [RAM: ▼1.93MB] [CPU: ▼54.80ms] Passed 4 tests

Analyzing server-side resources used by Recent Meetup.com Checkins
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.07 ▼1.394.77 ▼37.01
Dashboard /wp-admin2.09 ▼1.255.52 ▼52.02
Posts /wp-admin/edit.php2.09 ▼1.275.73 ▼38.75
Add New Post /wp-admin/post-new.php2.09 ▼3.806.00 ▼91.41
Media Library /wp-admin/upload.php2.09 ▼1.148.18 ▼24.47

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options
db_upgraded
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
widget_meetup_checkins

Browser metrics Passed 4 tests

This is an overview of browser requirements for Recent Meetup.com Checkins
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.27 ▼0.112.05 ▲0.4837.61 ▼0.07
Dashboard /wp-admin2,198 ▲245.64 ▲0.0880.87 ▼10.5137.04 ▼4.50
Posts /wp-admin/edit.php2,100 ▲32.03 ▲0.0540.09 ▲4.9735.64 ▼2.20
Add New Post /wp-admin/post-new.php1,532 ▲623.04 ▼0.51681.96 ▲10.3263.52 ▲11.81
Media Library /wp-admin/upload.php1,400 ▼04.22 ▲0.1199.75 ▼3.9844.29 ▼1.38

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • The plugin did not uninstall gracefully
    • > Deprecated in wp-content/plugins/recent-meetupcom-checkins/meetupcheckins.php+117
    Function create_function() is deprecated
  • This plugin does not fully uninstall, leaving 7 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_meetup_checkins
    • widget_theysaidso_widget

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
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/recent-meetupcom-checkins/meetupcheckins.php:12

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 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: meetup, checkins, recent checkins, widget

recent-meetupcom-checkins/meetupcheckins.php 92% from 13 tests

The primary PHP file in "Recent Meetup.com Checkins" version 0.1 is used by WordPress to initiate all plugin functionality
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 ("recent-meetupcom-checkins.php" instead of "meetupcheckins.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin86 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1241386

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.11
Average class complexity6.00
▷ Minimum class complexity6.00
▷ Maximum class complexity6.00
Average method complexity1.80
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods6
▷ Static methods00.00%
▷ Public methods6100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin