Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.31MB] [CPU: ▼296.73ms] Passed 4 tests
A check of server-side resources used by Simple CSV Tables
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.35 | 54.76 ▲3.99 |
Dashboard /wp-admin | 3.73 ▲0.33 | 38.89 ▲4.07 |
Posts /wp-admin/edit.php | 3.95 ▲0.30 | 42.76 ▲5.60 |
Add New Post /wp-admin/post-new.php | 7.25 ▲0.28 | 96.81 ▼1,187.37 |
Media Library /wp-admin/upload.php | 3.65 ▲0.35 | 25.34 ▼7.59 |
Add New /wp-admin/post-new.php?post_type=csv-table | 3.94 | 49.44 |
CSV tables /wp-admin/edit.php?post_type=csv-table | 3.73 | 28.56 |
Server storage [IO: ▲8.56MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 460 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Simple CSV Tables
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,153 ▲399 | 20.73 ▲5.10 | 5.97 ▲0.16 | 2.17 ▼0.39 |
Dashboard /wp-admin | 3,257 ▲406 | 10.48 ▲4.26 | 193.03 ▲57.79 | 154.19 ▼15.52 |
Posts /wp-admin/edit.php | 3,117 ▲423 | 7.79 ▲4.56 | 107.45 ▲43.81 | 137.63 ▼6.11 |
Add New Post /wp-admin/post-new.php | 1,821 ▲69 | 17.50 ▼4.48 | 443.13 ▼2.36 | 179.11 ▲19.98 |
Media Library /wp-admin/upload.php | 1,895 ▲200 | 7.82 ▲2.29 | 135.57 ▼9.21 | 182.38 ▼8.80 |
Add New /wp-admin/post-new.php?post_type=csv-table | 2,397 | 8.41 | 146.88 | 126.07 |
CSV tables /wp-admin/edit.php?post_type=csv-table | 1,802 | 7.70 | 103.09 | 120.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/simple-csv-tables/admin/partials/simple-csv-tables-admin-display.php
- > /wp-content/plugins/simple-csv-tables/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- > /wp-content/plugins/simple-csv-tables/public/partials/simple-csv-tables-public-display.php
- 112× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/simple-csv-tables/vendor/htmlburger/carbon-fields/core/Container/Condition/Term_Level_Condition.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Datastore\\Post_Meta_Datastore' not found in wp-content/plugins/simple-csv-tables/vendor/htmlburger/carbon-fields/core/Datastore/Nav_Menu_Item_Datastore.php:7
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/simple-csv-tables/vendor/htmlburger/carbon-fields/templates/Container/common/options-page.php:2
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Textarea_Field' not found in wp-content/plugins/simple-csv-tables/vendor/htmlburger/carbon-fields/core/Field/Rich_Text_Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/simple-csv-tables/vendor/htmlburger/carbon-fields/core/Container/Comment_Meta_Container.php:13
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Scripts_Field' not found in wp-content/plugins/simple-csv-tables/vendor/htmlburger/carbon-fields/core/Field/Header_Scripts_Field.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function PHPSTORM_META\\override() in wp-content/plugins/simple-csv-tables/vendor/htmlburger/carbon-fields/.phpstorm.meta.php/ioc.meta.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Fulfillable\\Translator\\Translator' not found in wp-content/plugins/simple-csv-tables/vendor/htmlburger/carbon-fields/core/Container/Fulfillable/Translator/Array_Translator.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Select_Field' not found in wp-content/plugins/simple-csv-tables/vendor/htmlburger/carbon-fields/core/Field/Radio_Image_Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/simple-csv-tables/vendor/htmlburger/carbon-fields/core/Field/Date_Field.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: shortcode, csv, table, datatables
simple-csv-tables/simple-csv-tables.php Passed 13 tests
The entry point to "Simple CSV Tables" version 1.0.2 is a PHP file that has certain tags in its header comment area
77 characters long description:
Displays html tables from .csv files using a simple shortcode for each table.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected27,323 lines of code in 412 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 174 | 5,188 | 8,486 | 13,070 |
PHP | 154 | 2,552 | 6,972 | 8,787 |
Sass | 48 | 334 | 0 | 1,746 |
PO File | 20 | 610 | 779 | 1,652 |
CSS | 10 | 326 | 1,158 | 1,645 |
JSON | 3 | 0 | 0 | 355 |
Markdown | 3 | 24 | 0 | 68 |
PHP code Passed 2 tests
This is a very shot review 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.27 |
Average class complexity | 7.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 22 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 127 | |
▷ Abstract classes | 11 | 8.66% |
▷ Concrete classes | 116 | 91.34% |
▷ Final classes | 1 | 0.86% |
Methods | 915 | |
▷ Static methods | 93 | 10.16% |
▷ Public methods | 743 | 81.20% |
▷ Protected methods | 163 | 17.81% |
▷ Private methods | 9 | 0.98% |
Functions | 104 | |
▷ Named functions | 24 | 23.08% |
▷ Anonymous functions | 80 | 76.92% |
Constants | 30 | |
▷ Global constants | 7 | 23.33% |
▷ Class constants | 23 | 76.67% |
▷ Public constants | 23 | 100.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