Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.43ms] Passed 4 tests
Server-side resources used by eDoc Easy Tables - Best WordPress Table Maker
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.87 ▲1.65 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.71 ▼2.42 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.43 ▼0.58 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 83.51 ▼15.58 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.95 ▲0.85 |
eDoc Tables /wp-admin/admin.php?page=dp-table-admin | 3.19 | 31.09 |
Edit Tables /wp-admin/admin.php?page=edit-tables | 3.19 | 39.00 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 26 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_edoc_tables |
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for eDoc Easy Tables - Best WordPress Table Maker
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲96 | 14.60 ▲0.64 | 1.76 ▼0.11 | 44.31 ▼2.28 |
Dashboard /wp-admin | 2,235 ▲44 | 4.94 ▲0.06 | 98.27 ▼10.68 | 84.65 ▲44.55 |
Posts /wp-admin/edit.php | 2,115 ▲26 | 2.00 ▲0.01 | 35.74 ▲0.25 | 33.74 ▼3.53 |
Add New Post /wp-admin/post-new.php | 1,536 ▲15 | 17.58 ▼5.46 | 687.15 ▲81.65 | 51.36 ▼5.18 |
Media Library /wp-admin/upload.php | 1,414 ▲32 | 4.19 ▼0.02 | 100.13 ▲1.61 | 45.88 ▲5.84 |
eDoc Tables /wp-admin/admin.php?page=dp-table-admin | 1,410 | 9.71 | 298.35 | 53.65 |
Edit Tables /wp-admin/admin.php?page=edit-tables | 801 | 2.09 | 25.83 | 26.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_edoc_tables
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
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
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=edit-tables
- > Notice in wp-content/plugins/edoc-easy-tables/edoc-tables.php+179
Undefined index: table-id
- > GET request to /wp-admin/admin.php?page=dp-table-admin
- > Notice in wp-content/plugins/edoc-easy-tables/edoc-tables.php+67
Undefined index: actions
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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/edoc-easy-tables/edoc-tables.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Requires php: Version format is invalid
edoc-easy-tables/edoc-tables.php 92% from 13 tests
The main PHP file in "eDoc Easy Tables - Best WordPress Table Maker" ver. 1.29 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("edoc-easy-tables.php" instead of "edoc-tables.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected1,089 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 77 | 17 | 769 |
CSS | 4 | 6 | 6 | 224 |
JavaScript | 3 | 15 | 10 | 96 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 47.00 |
▷ Minimum class complexity | 47.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 10.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
8 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/delete.png | 0.70KB | 0.72KB | 0.00% |
images/flag.png | 3.75KB | 1.26KB | ▼ 66.32% |
images/move.png | 1.00KB | 0.16KB | ▼ 83.80% |
images/icon-48-config.png | 4.04KB | 2.30KB | ▼ 43.15% |
images/icon-48-dashboard.png | 4.04KB | 2.30KB | ▼ 43.15% |