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.10MB] [CPU: ▼2.78ms] Passed 4 tests
This is a short check of server-side resources used by WP Flipkart Importer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 39.89 ▼0.91 |
Dashboard /wp-admin | 3.41 ▲0.11 | 44.68 ▼5.63 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 45.17 ▲0.22 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 88.03 ▼4.78 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 38.51 ▲3.77 |
Flipkart Importer /wp-admin/admin.php?page=wp-flipkart-importer/wp-flipkart-importer.php | 3.29 | 37.29 |
Help /wp-admin/admin.php?page=flipkartImporter_help | 3.30 | 31.54 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
category_children |
flipkart_importer_setting |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Flipkart Importer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲69 | 13.29 ▼1.01 | 1.60 ▼0.23 | 41.38 ▲2.80 |
Dashboard /wp-admin | 2,229 ▲37 | 4.93 ▼0.05 | 100.81 ▼11.11 | 93.40 ▲53.42 |
Posts /wp-admin/edit.php | 2,118 ▲29 | 2.02 ▲0.01 | 36.41 ▲1.98 | 30.56 ▼1.69 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.24 ▼0.13 | 640.11 ▲17.74 | 67.46 ▲12.91 |
Media Library /wp-admin/upload.php | 1,414 ▲32 | 4.20 ▼0.10 | 94.90 ▼4.22 | 76.08 ▲28.06 |
Flipkart Importer /wp-admin/admin.php?page=wp-flipkart-importer/wp-flipkart-importer.php | 1,096 | 2.17 | 24.82 | 42.38 |
Help /wp-admin/admin.php?page=flipkartImporter_help | 1,050 | 2.02 | 24.52 | 31.39 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- category_children
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means 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
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-flipkart-importer/wp-flipkart-importer.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: flipkart wordpress plugin, flipkart api, flipkart importer, flipkart, wp flipkart importer...
wp-flipkart-importer/wp-flipkart-importer.php Passed 13 tests
This is the main PHP file of "WP Flipkart Importer" version 1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
73 characters long description:
WP Flipkart Importer WordPress Plugin Import product using flipkart API .
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
Everything looks great! No dangerous files found in this plugin694 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 43 | 27 | 631 |
CSS | 1 | 1 | 0 | 63 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 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
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.30MB with 0.14MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 61.12KB | 26.10KB | ▼ 57.30% |
flipkart.png | 0.97KB | 1.03KB | 0.00% |
screenshot-2.png | 246.58KB | 49.63KB | ▼ 79.87% |