84% listify-xml-csv-listings-import

Code Review | Import Listings into the Listify Theme

WordPress plugin Import Listings into the Listify Theme scored84%from 54 tests.

About plugin

  • Plugin page: listify-xml-csv-l...
  • Plugin version: 1.1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3
  • WordPress version: 6.3.1
  • First release: Jul 9, 2015
  • Latest release: Aug 10, 2023
  • Number of updates: 56
  • Update frequency: every 52.8 days
  • Top authors: WPAllImport (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

600+ active /20,468 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
Install script ran successfully

Server metrics [RAM: ▲0.43MB] [CPU: ▼2.18ms] Passed 4 tests

Server-side resources used by Import Listings into the Listify Theme
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.92 ▲0.4640.99 ▼0.73
Dashboard /wp-admin3.77 ▲0.4647.77 ▼2.03
Posts /wp-admin/edit.php3.82 ▲0.4651.38 ▲3.26
Add New Post /wp-admin/post-new.php6.28 ▲0.4083.92 ▼8.74
Media Library /wp-admin/upload.php3.63 ▲0.4037.24 ▲2.80

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Import Listings into the Listify Theme
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,875 ▲12914.74 ▲0.161.89 ▼0.2235.68 ▼7.91
Dashboard /wp-admin2,232 ▲465.84 ▲0.85105.71 ▼2.7743.12 ▲1.28
Posts /wp-admin/edit.php2,127 ▲382.01 ▲0.0240.79 ▲1.7443.41 ▲6.91
Add New Post /wp-admin/post-new.php1,390 ▼14320.64 ▼2.47578.27 ▼109.4438.40 ▼18.11
Media Library /wp-admin/upload.php1,420 ▲324.11 ▼0.18110.37 ▼0.1646.48 ▲0.09

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
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
  • 3× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/listify-xml-csv-listings-import/listify-add-on.php:79
    • > PHP Fatal error
      Uncaught Error: Class 'WPAI_Listify_Add_On_Importer' not found in wp-content/plugins/listify-xml-csv-listings-import/classes/class-importer-listings.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'WPAI_Listify_Add_On_Importer' not found in wp-content/plugins/listify-xml-csv-listings-import/classes/class-importer-listings-location.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: import business directory, import directory, import business listings, business directory, import listify listings...

listify-xml-csv-listings-import/listify-add-on.php 92% from 13 tests

This is the main PHP file of "Import Listings into the Listify Theme" version 1.1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("listify-xml-csv-listings-import.php" instead of "listify-add-on.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin2,325 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP76251691,843
JavaScript100481
Markdown1001

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.59
Average class complexity52.00
▷ Minimum class complexity1.00
▷ Maximum class complexity211.00
Average method complexity5.19
▷ Minimum method complexity1.00
▷ Maximum method complexity46.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes114.29%
Methods86
▷ Static methods11.16%
▷ Public methods8598.84%
▷ Protected methods11.16%
▷ Private methods00.00%
Functions2
▷ Named functions150.00%
▷ Anonymous functions150.00%
Constants4
▷ Global constants4100.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
There were not PNG files found in your plugin