WordPress plugin scored84%from 54 tests.

About plugin

  • Plugin page: sb-data-importer-...
  • Plugin version: 1.5.0
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.0.2
  • WordPress version: 6.3.1
  • First release: Apr 10, 2018
  • Latest release: Sep 14, 2022
  • Number of updates: 36
  • Update frequency: every 44.9 days
  • Top authors: scriptsbundle (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /3,132 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼3.30ms] Passed 4 tests

A check of server-side resources used by
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0143.02 ▼1.61
Dashboard /wp-admin3.31 ▲0.0149.31 ▼8.60
Posts /wp-admin/edit.php3.43 ▲0.0750.83 ▼0.20
Add New Post /wp-admin/post-new.php5.89 ▲0.0195.51 ▼2.78
Media Library /wp-admin/upload.php3.24 ▲0.0138.45 ▲3.05

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲314.42 ▲0.071.71 ▼0.7843.73 ▼1.39
Dashboard /wp-admin2,198 ▲245.64 ▲0.0681.35 ▼27.6842.64 ▼2.20
Posts /wp-admin/edit.php2,100 ▼02.00 ▲0.0239.21 ▲0.8036.34 ▲2.12
Add New Post /wp-admin/post-new.php1,526 ▼023.58 ▲0.39666.22 ▼8.2847.70 ▼9.29
Media Library /wp-admin/upload.php1,403 ▲34.19 ▼0.0298.70 ▼10.5545.19 ▼2.73

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

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP 50% 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
  • 5× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sb-data-importer-wp-all-import-add-on/carspot/carspot.php:235
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sb-data-importer-wp-all-import-add-on/nokri/nokri.php:61
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sb-data-importer-wp-all-import-add-on/dwt/dwt.php:219
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sb-data-importer-wp-all-import-add-on/adforest/adforest.php:147
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_get_theme() in wp-content/plugins/sb-data-importer-wp-all-import-add-on/index.php:17

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: adforest data importer, best classified theme bulk importer, adforest classified theme

sb-data-importer-wp-all-import-add-on/index.php 85% from 13 tests

Analyzing the main PHP file in "" version 1.5.0
The following require your attention:
  • Main file name: Name the main plugin file the same as the plugin slug ("sb-data-importer-wp-all-import-add-on.php" instead of "index.php")
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin1,421 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP73931251,421

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.56
Average class complexity178.00
▷ Minimum class complexity178.00
▷ Maximum class complexity178.00
Average method complexity5.12
▷ Minimum method complexity1.00
▷ Maximum method complexity28.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods43
▷ Static methods00.00%
▷ Public methods43100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions11
▷ Named functions11100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
No PNG images were found in this plugin