74% makis-events

Code Review | Makis events, entertainment and free content plugin

WordPress plugin Makis events, entertainment and free content plugin scored74%from 54 tests.

About plugin

  • Plugin page: makis-events
  • Plugin version: 1.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Apr 24, 2018
  • Latest release: Apr 24, 2018
  • Number of updates: 2
  • Update frequency: every 6.0 days
  • Top authors: makiscommunity (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /496 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▲0.16MB] [CPU: ▼1.39ms] Passed 4 tests

Analyzing server-side resources used by Makis events, entertainment and free content plugin
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.67 ▲0.2142.07 ▼2.33
Dashboard /wp-admin3.51 ▲0.2169.89 ▲20.22
Posts /wp-admin/edit.php3.54 ▲0.1947.27 ▼3.80
Add New Post /wp-admin/post-new.php6.01 ▲0.1282.13 ▼5.91
Media Library /wp-admin/upload.php3.35 ▲0.1237.38 ▲6.48

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 2 new files
Database: 2 new tables, 7 new options
New tables
wp_makis_rss_post
wp_makis_rss_channel
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
can_compress_scripts
widget_recent-comments
makisrss_db_version
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for Makis events, entertainment and free content plugin
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.29 ▼1.031.68 ▼0.1337.60 ▼8.09
Dashboard /wp-admin2,206 ▲154.85 ▼1.04107.41 ▲2.1539.98 ▼5.84
Posts /wp-admin/edit.php2,092 ▼02.06 ▲0.0139.74 ▼2.9442.69 ▲5.96
Add New Post /wp-admin/post-new.php1,536 ▲323.26 ▼0.07640.99 ▲9.9258.24 ▲7.17
Media Library /wp-admin/upload.php1,391 ▲34.19 ▼0.0399.11 ▼9.8744.58 ▲0.44

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • The plugin did not uninstall successfully, leaving 2 tables in the database
    • wp_makis_rss_post
    • wp_makis_rss_channel
  • This plugin does not fully uninstall, leaving 7 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • makisrss_db_version
    • can_compress_scripts
    • widget_recent-posts

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 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
Please fix the following
  • 5× PHP files trigger server errors when accessed directly:
    • > PHP Warning
      Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/makis-events/makis_rss_plugin.php on line 31
    • > PHP Warning
      include_once(): Failed opening 'ABSPATHWPINC/class-simplepie.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/makis-events/makis_rss_plugin.php on line 31
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/makis-events/makis_rss_plugin.php:298
    • > PHP Warning
      include_once(ABSPATHWPINC/class-simplepie.php): failed to open stream: No such file or directory in wp-content/plugins/makis-events/makis_rss_plugin.php on line 31
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/makis-events/makis_rss_plugin.php on line 31

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
  • Requires at least: Invalid plugin version format
Please take inspiration from this readme.txt

makis-events/makis_rss_plugin.php 92% from 13 tests

The main file in "Makis events, entertainment and free content plugin" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("makis-events.php" instead of "makis_rss_plugin.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
Success! There were no dangerous files found in this plugin227 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP15358227

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.18
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%
Functions10
▷ Named functions10100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
There are no PNG files in this plugin