78% err-our-team

Code Review | Inpersttion For Theme

WordPress plugin Inpersttion For Theme scored78%from 54 tests.

About plugin

  • Plugin page: err-our-team
  • Plugin version: 1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-5.9.3
  • WordPress version: 6.3.1
  • First release: May 23, 2022
  • Latest release: Jun 7, 2022
  • Number of updates: 6
  • Update frequency: every 2.8 days
  • Top authors: inpersttion (100%)

Code review

54 tests

User reviews

1 review

Install metrics

80+ active /1,004 total downloads

Benchmarks

Plugin footprint 83% 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.01MB] [CPU: ▼11.80ms] Passed 4 tests

Server-side resources used by Inpersttion For Theme
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0235.00 ▼9.11
Dashboard /wp-admin3.33 ▼0.0242.55 ▼20.36
Posts /wp-admin/edit.php3.38 ▲0.0248.43 ▲1.79
Add New Post /wp-admin/post-new.php5.91 ▲0.0281.99 ▼16.98
Media Library /wp-admin/upload.php3.25 ▲0.0234.14 ▼0.75

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 74 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Inpersttion For Theme
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲5613.68 ▼0.691.70 ▼0.1537.77 ▼6.11
Dashboard /wp-admin2,208 ▲174.86 ▼0.95114.67 ▲8.8040.75 ▼3.89
Posts /wp-admin/edit.php2,094 ▲52.05 ▲0.0440.42 ▲2.8135.51 ▲1.16
Add New Post /wp-admin/post-new.php1,541 ▲2718.29 ▲0.73592.02 ▼67.9759.12 ▼10.22
Media Library /wp-admin/upload.php1,387 ▼14.16 ▼0.0299.08 ▼5.0840.77 ▼4.37

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP 0% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 2× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/err-our-team/includes/pro/customizer-repeater/inc/icons.php
    • > /wp-content/plugins/err-our-team/includes/free/customizer-repeater/inc/icons.php
  • 32× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/err-our-team/includes/pro/features/our_team.php:392
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/err-our-team/includes/pro/features/sponsors.php:249
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/err-our-team/includes/free/features/hide-show.php:78
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/err-our-team/includes/free/dynamic-demo.php:31
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/err-our-team/includes/free/features/sponsors.php:264
    • > PHP Fatal error
      require(): Failed opening required 'IFT_PLUGIN_DIR_PATHincludes/free/customizer-repeater/inc/customizer.php' (include_path='.:/usr/share/php') in wp-content/plugins/err-our-team/includes/free/customizer-repeater/functions.php on line 2
    • > PHP Warning
      Use of undefined constant IFT_PLUGIN_DIR_PATH - assumed 'IFT_PLUGIN_DIR_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/err-our-team/includes/pro/customizer-repeater/functions.php on line 2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/err-our-team/includes/pro/features/services.php:382
    • > PHP Fatal error
      require(): Failed opening required 'IFT_PLUGIN_DIR_PATHincludes/pro/customizer-repeater/inc/customizer.php' (include_path='.:/usr/share/php') in wp-content/plugins/err-our-team/includes/pro/customizer-repeater/functions.php on line 2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/err-our-team/includes/pro/features/about.php:294

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were 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
Please fix the following attributes:
  • Contributors: Plugin contributors not specified
The official readme.txt might help

err-our-team/err-our-team.php 92% from 13 tests

The entry point to "Inpersttion For Theme" version 1.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

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 plugin10,598 lines of code in 59 files:
LanguageFilesBlank linesComment linesLines of code
PHP492155209,314
JavaScript620386902
CSS4586382

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.27
Average class complexity35.14
▷ Minimum class complexity1.00
▷ Maximum class complexity111.00
Average method complexity10.19
▷ Minimum method complexity1.00
▷ Maximum method complexity60.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods26
▷ Static methods00.00%
▷ Public methods1350.00%
▷ Protected methods13.85%
▷ Private methods1246.15%
Functions107
▷ Named functions107100.00%
▷ Anonymous functions00.00%
Constants7
▷ Global constants7100.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