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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.46 | 40.99 ▼0.73 |
Dashboard /wp-admin | 3.77 ▲0.46 | 47.77 ▼2.03 |
Posts /wp-admin/edit.php | 3.82 ▲0.46 | 51.38 ▲3.26 |
Add New Post /wp-admin/post-new.php | 6.28 ▲0.40 | 83.92 ▼8.74 |
Media Library /wp-admin/upload.php | 3.63 ▲0.40 | 37.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,875 ▲129 | 14.74 ▲0.16 | 1.89 ▼0.22 | 35.68 ▼7.91 |
Dashboard /wp-admin | 2,232 ▲46 | 5.84 ▲0.85 | 105.71 ▼2.77 | 43.12 ▲1.28 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.01 ▲0.02 | 40.79 ▲1.74 | 43.41 ▲6.91 |
Add New Post /wp-admin/post-new.php | 1,390 ▼143 | 20.64 ▼2.47 | 578.27 ▼109.44 | 38.40 ▼18.11 |
Media Library /wp-admin/upload.php | 1,420 ▲32 | 4.11 ▼0.18 | 110.37 ▼0.16 | 46.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
- > PHP Fatal error
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 625 | 169 | 1,843 |
JavaScript | 1 | 0 | 0 | 481 |
Markdown | 1 | 0 | 0 | 1 |
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 code | 0.59 |
Average class complexity | 52.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 211.00 |
Average method complexity | 5.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 86 | |
▷ Static methods | 1 | 1.16% |
▷ Public methods | 85 | 98.84% |
▷ Protected methods | 1 | 1.16% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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