Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼143.94ms] Passed 4 tests
An overview of server-side resources used by RS CSV Importer Media Add-On
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 33.29 ▲13.91 |
Dashboard /wp-admin | 3.06 ▲0.01 | 45.74 ▲0.60 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 44.70 ▼4.01 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 89.17 ▼573.13 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 33.53 ▲0.80 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for RS CSV Importer Media Add-On
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 15.79 ▼0.02 | 8.41 ▼0.92 | 50.18 ▼1.64 |
Dashboard /wp-admin | 2,967 ▲30 | 5.86 ▼0.11 | 163.20 ▲12.24 | 110.87 ▼1.76 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.69 ▼0.01 | 66.18 ▼3.45 | 95.53 ▲1.51 |
Add New Post /wp-admin/post-new.php | 1,672 ▼11 | 18.82 ▲0.25 | 375.04 ▼6.79 | 115.92 ▲2.53 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.04 ▲0.04 | 152.63 ▲5.96 | 122.90 ▼0.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
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 | 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
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/rs-csv-importer-media-addon/rs-csv-importer-media-addon.php:14
- > PHP Fatal error
Uncaught Error: Class 'RS_CSV_Importer' not found in wp-content/plugins/rs-csv-importer-media-addon/class-rs_csv_importer_media_plus.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: importer, rscsv, csv
rs-csv-importer-media-addon/rs-csv-importer-media-addon.php 92% from 13 tests
The main file in "RS CSV Importer Media Add-On" v. 1.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
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
Good job! No executable or dangerous file extensions detected85 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 40 | 89 | 85 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 1 | 9.09% |
▷ Public methods | 10 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 9.09% |
Functions | 1 | |
▷ Named functions | 1 | 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
There were not PNG files found in your plugin