90% gutena-team

Code Review | Gutena Team - Team Slider and Grid

WordPress plugin Gutena Team - Team Slider and Grid scored 90% from 54 tests.

About plugin

  • Plugin page: gutena-team
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.9-6.1
  • WordPress version: 6.3.1
  • First release: Mar 14, 2023
  • Latest release: Mar 14, 2023
  • Number of updates: 3
  • Update frequency: every 1.0 days
  • Top authors: expresstech (100%)

Code review

54 tests

User reviews

1 review

Install metrics

400+ active / 1,942 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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.07MB] [CPU: ▼7.45ms] Passed 4 tests

Analyzing server-side resources used by Gutena Team - Team Slider and Grid
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.55 ▲0.0937.01 ▼7.16
Dashboard /wp-admin3.37 ▲0.0741.77 ▼10.03
Posts /wp-admin/edit.php3.42 ▲0.0749.64 ▲7.65
Add New Post /wp-admin/post-new.php5.97 ▲0.0888.79 ▼17.28
Media Library /wp-admin/upload.php3.30 ▲0.0737.12 ▲4.68

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Gutena Team - Team Slider and Grid
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲6713.20 ▼1.551.85 ▼0.0242.38 ▼5.22
Dashboard /wp-admin2,206 ▲185.84 ▼0.0198.52 ▼18.2540.37 ▼7.47
Posts /wp-admin/edit.php2,086 ▼32.06 ▲0.0340.39 ▼1.1635.69 ▼1.32
Add New Post /wp-admin/post-new.php6,594 ▲5,06529.55 ▲10.97973.06 ▲295.2441.27 ▼20.13
Media Library /wp-admin/upload.php1,388 ▼34.27 ▲0.0599.04 ▼0.2342.77 ▼2.55

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: team member, team grid, team block, team slider, team

gutena-team/gutena-team.php Passed 13 tests

The main PHP script in "Gutena Team - Team Slider and Grid" version 1.0.0 is automatically included on every request by WordPress
11 characters long description:
Gutena Team

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
Good job! No executable or dangerous file extensions detected413 lines of code in 17 files:
LanguageFilesBlank linesComment linesLines of code
JSON100209
PHP545120177
SVG50020
CSS3004
JavaScript3003

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.52
Average class complexity12.00
▷ Minimum class complexity9.00
▷ Maximum class complexity15.00
Average method complexity2.83
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods12
▷ Static methods216.67%
▷ Public methods1083.33%
▷ Protected methods00.00%
▷ Private methods216.67%
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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.13MB with 0.07MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
build/images/image.f958ed23.png126.29KB46.49KB▼ 63.19%
includes/gutena/gutena-ecosys-onboard/assets/cta/bg.png6.31KB3.12KB▼ 50.59%