10% integracja-upmenu

Code Review | Integracja UpMenu

WordPress plugin Integracja UpMenu scored 10% from 54 tests.

About plugin

  • Plugin page: integracja-upmenu
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-4.7
  • WordPress version: 5.9.2
  • First release: Feb 2, 2017
  • Latest release: Feb 2, 2017
  • Number of updates: 3
  • Update frequency: every 1.0 days
  • Top authors: bartekkonopka (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 371 total downloads

Benchmarks

Plugin footprint 75% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
  • The plugin cannot be installed
    • > Parse error in wp-content/plugins/integracja-upmenu/upmenu.php+96
    syntax error, unexpected end of file

Server metrics [RAM: ▼0.02MB] [CPU: ▼293.67ms] Passed 4 tests

Analyzing server-side resources used by Integracja UpMenu
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0154.65 ▲3.97
Dashboard /wp-admin3.41 ▲0.0033.10 ▼0.31
Posts /wp-admin/edit.php3.64 ▲0.0037.72 ▼0.59
Add New Post /wp-admin/post-new.php6.89 ▼0.0895.62 ▼1,168.53
Media Library /wp-admin/upload.php3.29 ▼0.0124.95 ▼5.23

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Integracja UpMenu
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,795 ▲5315.85 ▼0.155.77 ▲0.102.50 ▲0.50
Dashboard /wp-admin2,888 ▲276.15 ▼0.05113.91 ▼21.22157.31 ▼6.73
Posts /wp-admin/edit.php2,691 ▲33.23 ▲0.0062.63 ▼1.54138.55 ▼0.20
Add New Post /wp-admin/post-new.php1,711 ▼7020.67 ▼2.16444.65 ▲18.91158.64 ▲5.49
Media Library /wp-admin/upload.php1,698 ▼05.49 ▼0.03147.86 ▲9.93190.33 ▲4.29

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
Almost there! Just fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Parse error
      syntax error, unexpected end of file in wp-content/plugins/integracja-upmenu/upmenu.php on line 96

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === integracja-upmenu === )
The official readme.txt is a good inspiration

integracja-upmenu/upmenu.php 92% from 13 tests

The main PHP script in "Integracja UpMenu" version 1.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("integracja-upmenu.php" instead of "upmenu.php")

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
There were no executable files found in this plugin74 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP215974

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
Functions3
▷ Named functions3100.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
There were not PNG files found in your plugin