Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.33ms] Passed 4 tests
Analyzing server-side resources used by Create DB Tables
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.89 ▼4.11 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.70 ▼1.05 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 43.42 ▼7.05 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 82.10 ▼14.96 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.20 ▼3.19 |
Create DB Tables /wp-admin/admin.php?page=create-db-tables | 3.18 | 31.14 |
Add New Table /wp-admin/admin.php?page=add-new-table | 3.20 | 29.69 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Create DB Tables: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲77 | 13.28 ▼1.09 | 1.91 ▼0.46 | 52.05 ▲3.98 |
Dashboard /wp-admin | 2,229 ▲41 | 4.81 ▼1.25 | 126.12 ▲14.30 | 43.65 ▼6.79 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 2.05 ▲0.05 | 37.83 ▼2.58 | 34.94 ▼2.86 |
Add New Post /wp-admin/post-new.php | 1,555 ▲22 | 23.29 ▲0.14 | 644.39 ▼59.07 | 52.00 ▼2.53 |
Media Library /wp-admin/upload.php | 1,414 ▲23 | 4.20 ▼0.19 | 97.78 ▼12.32 | 43.86 ▼6.96 |
Create DB Tables /wp-admin/admin.php?page=create-db-tables | 833 | 2.06 | 28.00 | 28.57 |
Add New Table /wp-admin/admin.php?page=add-new-table | 874 | 1.71 | 25.30 | 26.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=create-db-tables
- > Deprecated in wp-content/plugins/create-db-tables/create-db-tables.php+102
parse_str(): Calling parse_str() without the result argument is deprecated
- > GET request to /wp-admin/admin.php?page=create-db-tables
- > Notice in wp-content/plugins/create-db-tables/create-db-tables.php+78
Undefined variable: table_name
- > GET request to /wp-admin/admin.php?page=create-db-tables
- > Notice in wp-content/plugins/create-db-tables/create-db-tables.php+103
Undefined variable: create_new_table_success
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/create-db-tables/create-db-tables.php
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 errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: database, sql, wpdb, phpmyadmin, tables...
create-db-tables/create-db-tables.php 92% from 13 tests
The main PHP file in "Create DB Tables" ver. 1.2.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 527 characters long)
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
Good job! No executable or dangerous file extensions detected469 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 156 | 97 | 469 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin