83% team-view-by-innvonix-technologies

Code Review | Team Member by Innvonix Technologies

WordPress plugin Team Member by Innvonix Technologies scored 83% from 54 tests.

About plugin

  • Plugin page: team-view-by-innv...
  • Plugin version: 1.0
  • PHP compatiblity: 5.5+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-4.8
  • WordPress version: 6.3.1
  • First release: Nov 14, 2017
  • Latest release: Nov 14, 2017
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: innvonix (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 620 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

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

This is a short check of server-side resources used by Team Member by Innvonix Technologies
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0837.87 ▼2.52
Dashboard /wp-admin3.37 ▲0.0742.35 ▼3.82
Posts /wp-admin/edit.php3.42 ▲0.0746.57 ▲0.63
Add New Post /wp-admin/post-new.php5.95 ▲0.0792.84 ▼2.82
Media Library /wp-admin/upload.php3.29 ▲0.0635.28 ▲1.71
All Members /wp-admin/edit.php?post_type=member_team3.3333.44
Groups /wp-admin/edit-tags.php?taxonomy=invx_team_group&post_type=member_team3.2831.22
Add New Member /wp-admin/post-new.php?post_type=member_team3.4153.26

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options
can_compress_scripts
widget_theysaidso_widget
widget_invx-recent-team
db_upgraded
widget_recent-posts
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for Team Member by Innvonix Technologies
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,952 ▲20613.97 ▼0.425.14 ▲3.3945.87 ▲4.98
Dashboard /wp-admin2,240 ▲555.86 ▼0.01108.71 ▲7.5841.69 ▼1.60
Posts /wp-admin/edit.php2,129 ▲402.01 ▼0.0339.23 ▲3.0335.17 ▲0.10
Add New Post /wp-admin/post-new.php1,564 ▲3023.35 ▲0.09643.66 ▼1.6370.43 ▲13.35
Media Library /wp-admin/upload.php1,422 ▲314.23 ▼0.0498.96 ▼5.0545.07 ▲0.71
All Members /wp-admin/edit.php?post_type=member_team1,1131.9632.3029.71
Groups /wp-admin/edit-tags.php?taxonomy=invx_team_group&post_type=member_team1,2962.1425.7027.71
Add New Member /wp-admin/post-new.php?post_type=member_team2,5397.95165.0965.91

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
  • Zombie WordPress options detected upon uninstall: 7 options
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_invx-recent-team
    • widget_recent-posts

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
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
  • 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/team-view-by-innvonix-technologies/admin/admin.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_header() in wp-content/plugins/team-view-by-innvonix-technologies/includes/member-template.php:11
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/team-view-by-innvonix-technologies/team-view-by-innvonix.php:31
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/team-view-by-innvonix-technologies/includes/functions.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 80% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
  • Donate link: Please fix this invalid URI: ""
The official readme.txt might help

team-view-by-innvonix-technologies/team-view-by-innvonix.php 62% from 13 tests

This is the main PHP file of "Team Member by Innvonix Technologies" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
  • Domain Path: The domain path points to an invalid folder, "/i18n/languages/" does not exist
  • Description: Please don't use more than 140 characters for the plugin description (currently 192 characters long)
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
  • Main file name: The principal plugin file should be the same as the plugin slug ("team-view-by-innvonix-technologies.php" instead of "team-view-by-innvonix.php")
  • Requires at least: Required version does not match the one declared in readme.txt ("3.4.2" instead of "4.4")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin5,188 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
CSS633483,328
PHP41771031,128
SVG100685
JavaScript221647

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.27
Average class complexity9.00
▷ Minimum class complexity2.00
▷ Maximum class complexity16.00
Average method complexity3.00
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods8
▷ Static methods00.00%
▷ Public methods8100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions19
▷ Named functions1894.74%
▷ Anonymous functions15.26%
Constants4
▷ Global constants4100.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
2 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/css/grabbing.png0.11KB0.14KB0.00%
images/user-icon.png62.91KB27.05KB▼ 57.00%