Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.82ms] Passed 4 tests
Analyzing server-side resources used by Datalist it
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.76 ▲3.46 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.01 ▼2.94 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.46 ▲1.27 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 84.80 ▼3.17 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.26 ▲1.58 |
Datalist it /wp-admin/options-general.php?page=datalistit/datalistit.php | 3.18 | 29.93 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Datalist it
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,911 ▲176 | 13.75 ▼0.61 | 5.72 ▲4.07 | 44.99 ▼5.45 |
Dashboard /wp-admin | 2,231 ▲43 | 5.23 ▲0.32 | 111.73 ▼5.08 | 37.11 ▼7.21 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.22 ▲0.16 | 39.21 ▲3.80 | 34.44 ▼1.62 |
Add New Post /wp-admin/post-new.php | 1,526 ▼3 | 23.38 ▲5.10 | 599.92 ▼34.19 | 55.85 ▲2.12 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.34 ▲0.14 | 100.67 ▼2.94 | 41.54 ▼1.59 |
Datalist it /wp-admin/options-general.php?page=datalistit/datalistit.php | 900 | 1.83 | 29.22 | 40.84 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=datalistit/datalistit.php
- > Warning in wp-content/plugins/datalistit/datalistit.php+126
Use of undefined constant deletecheck - assumed 'deletecheck' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/options-general.php?page=datalistit/datalistit.php
- > Warning in wp-content/plugins/datalistit/datalistit.php+172
Use of undefined constant filename - assumed 'filename' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/options-general.php?page=datalistit/datalistit.php
- > Warning in wp-content/plugins/datalistit/datalistit.php+174
Use of undefined constant extension - assumed 'extension' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/options-general.php?page=datalistit/datalistit.php
- > Notice in wp-content/plugins/datalistit/datalistit.php+174
Undefined index: extension
- > GET request to /wp-admin/options-general.php?page=datalistit/datalistit.php
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/datalistit/datalistit.php+305
Use of undefined constant restore - assumed 'restore' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/options-general.php?page=datalistit/datalistit.php
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/datalistit/datalistit.php+309
Use of undefined constant read - assumed 'read' (this will throw an Error in a future version of PHP)
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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/datalistit/datalistit.php:428
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Invalid URI ("none")
datalistit/datalistit.php Passed 13 tests
The main PHP file in "Datalist it" ver. 0.0.3 adds more information about the plugin and also serves as the entry point for this plugin
86 characters long description:
Put you csv file into a database table and display it on your webside or in your blog.
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
Good job! No executable or dangerous file extensions detected644 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 105 | 32 | 506 |
JavaScript | 4 | 21 | 4 | 128 |
CSS | 1 | 1 | 0 | 10 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 9.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 3.43 |
▷ 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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 71.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 28.57% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 5 | 31.25% |
▷ Class constants | 11 | 68.75% |
▷ Public constants | 11 | 100.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