Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.32MB] [CPU: ▼133.93ms] Passed 4 tests
An overview of server-side resources used by Import Listings into Inventor WP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.25 ▲0.53 | 39.78 ▲15.32 |
Dashboard /wp-admin | 3.41 ▲0.36 | 49.99 ▲5.61 |
Posts /wp-admin/edit.php | 3.46 ▲0.35 | 49.98 ▲4.62 |
Add New Post /wp-admin/post-new.php | 5.71 ▲0.27 | 95.52 ▼547.37 |
Media Library /wp-admin/upload.php | 3.29 ▲0.29 | 36.63 ▲1.43 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Import Listings into Inventor WP
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,808 ▲212 | 16.15 ▲0.05 | 8.26 ▲1.28 | 55.96 ▲11.98 |
Dashboard /wp-admin | 3,018 ▲84 | 6.04 ▲0.13 | 136.06 ▼8.81 | 108.21 ▼3.65 |
Posts /wp-admin/edit.php | 2,816 ▲77 | 2.70 ▲0.02 | 71.22 ▲6.01 | 101.81 ▲12.37 |
Add New Post /wp-admin/post-new.php | 1,648 ▲150 | 21.67 ▲2.83 | 259.70 ▼102.24 | 117.93 ▲8.96 |
Media Library /wp-admin/upload.php | 1,881 ▲71 | 5.01 ▼0.00 | 142.00 ▼18.28 | 115.58 ▼2.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
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 everything seems fine, this is not 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
The following issues need your attention
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/import-xml-csv-listings-to-inventor-wp/inventorwp-add-on.php on line 36
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/import-xml-csv-listings-to-inventor-wp/inventorwp-add-on.php on line 14
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/import-xml-csv-listings-to-inventor-wp/inventorwp-add-on.php on line 14
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/import-xml-csv-listings-to-inventor-wp/inventorwp-add-on.php on line 14
- > PHP Fatal error
Uncaught Error: Call to a member function get_row() on null in wp-content/plugins/import-xml-csv-listings-to-inventor-wp/inventorwp-add-on.php:39
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: Please add at least on tag
import-xml-csv-listings-to-inventor-wp/inventorwp-add-on.php 92% from 13 tests
The entry point to "Import Listings into Inventor WP" version 1.1.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("import-xml-csv-listings-to-inventor-wp.php" instead of "inventorwp-add-on.php")
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
No dangerous file extensions were detected3,822 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 832 | 624 | 3,778 |
CSS | 1 | 20 | 22 | 41 |
Markdown | 1 | 2 | 0 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 204.00 |
▷ Minimum class complexity | 204.00 |
▷ Maximum class complexity | 204.00 |
Average method complexity | 5.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 49 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected