77% wp-meetfox

Code Review | MeetFox

WordPress plugin MeetFox scored77%from 54 tests.

About plugin

  • Plugin page: wp-meetfox
  • Plugin version: 1.0
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-5.8
  • WordPress version: 6.3.1
  • First release: Dec 30, 2020
  • Latest release: Sep 20, 2021
  • Number of updates: 14
  • Update frequency: every 20.4 days
  • Top authors: jokuja (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

70+ active /784 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▲0.18MB] [CPU: ▲1.32ms] Passed 4 tests

This is a short check of server-side resources used by MeetFox
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.64 ▲0.1744.50 ▲4.00
Dashboard /wp-admin3.48 ▲0.1853.06 ▼1.36
Posts /wp-admin/edit.php3.60 ▲0.2453.78 ▲4.82
Add New Post /wp-admin/post-new.php6.08 ▲0.1893.29 ▼2.17
Media Library /wp-admin/upload.php3.43 ▲0.1945.19 ▲5.98

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

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

Browser metrics Passed 4 tests

MeetFox: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,809 ▲4814.41 ▲0.221.73 ▲0.0145.23 ▲5.05
Dashboard /wp-admin2,212 ▲325.65 ▼0.0689.63 ▲2.1039.28 ▼3.11
Posts /wp-admin/edit.php2,120 ▲202.02 ▲0.0133.64 ▼0.4434.17 ▼2.58
Add New Post /wp-admin/post-new.php1,544 ▲1317.47 ▼5.92683.01 ▲7.5050.65 ▲0.25
Media Library /wp-admin/upload.php1,423 ▲234.27 ▲0.04114.21 ▲10.2748.45 ▲1.67

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
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 50% 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 0% 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
Please take a closer look at the following
  • 5× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/wp-meetfox/templates/floating.php
    • > /wp-content/plugins/wp-meetfox/templates/button.php
    • > /wp-content/plugins/wp-meetfox/admin-help.php
    • > /wp-content/plugins/wp-meetfox/admin-style.php
    • > /wp-content/plugins/wp-meetfox/templates/iframe.php
  • 15× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Notice
      Undefined variable: options in wp-content/plugins/wp-meetfox/templates/button.php on line 5
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/wp-meetfox/templates/button.php on line 5
    • > PHP Notice
      Undefined variable: options in wp-content/plugins/wp-meetfox/templates/floating.php on line 5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function Dodel\\get_option() in wp-content/plugins/wp-meetfox/wp-meetfox.php:30
    • > PHP Notice
      Undefined variable: options in wp-content/plugins/wp-meetfox/templates/iframe.php on line 2
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/wp-meetfox/templates/floating.php on line 5
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/wp-meetfox/templates/button.php on line 6
    • > PHP Notice
      Undefined variable: options in wp-content/plugins/wp-meetfox/templates/button.php on line 6
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/wp-meetfox/templates/button.php on line 6
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/wp-meetfox/templates/floating.php on line 5

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 on the user side

Optimizations

Plugin configuration 86% 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
Please fix the following attributes:
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screen shot)
The official readme.txt might help

wp-meetfox/wp-meetfox.php 77% from 13 tests

"MeetFox" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
  • Requires at least: The required version number must match the one declared in readme.txt ("4.0" instead of "5.2")
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
  • Requires PHP: The required version number must match the one declared in readme.txt ("5.6.20" instead of "7.2")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin917 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP9112215917

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.66
Average class complexity41.75
▷ Minimum class complexity1.00
▷ Maximum class complexity155.00
Average method complexity6.43
▷ Minimum method complexity1.00
▷ Maximum method complexity59.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes4100.00%
Methods30
▷ Static methods00.00%
▷ Public methods2066.67%
▷ Protected methods1033.33%
▷ 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

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin