Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.36ms] Passed 4 tests
This is a short check of server-side resources used by TCT-Dynamic-Spreadsheet-Counter-for-Divi
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.28 ▼0.25 |
Dashboard /wp-admin | 3.33 ▲0.02 | 47.33 ▼3.04 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.01 ▼5.47 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 82.82 ▼12.69 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.27 ▲0.27 |
Sheets Divi Counter /wp-admin/options-general.php?page=tct_ddc | 3.19 | 29.65 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by TCT-Dynamic-Spreadsheet-Counter-for-Divi
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.34 ▼0.01 | 1.88 ▲0.14 | 44.93 ▲2.31 |
Dashboard /wp-admin | 2,202 ▲22 | 5.58 ▼0.07 | 83.69 ▼6.83 | 36.74 ▼2.74 |
Posts /wp-admin/edit.php | 2,101 ▲4 | 2.02 ▲0.06 | 38.94 ▲3.83 | 35.99 ▲4.90 |
Add New Post /wp-admin/post-new.php | 1,529 ▼6 | 23.16 ▲5.11 | 673.31 ▲75.70 | 50.33 ▼12.07 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.07 ▼0.11 | 96.01 ▲3.14 | 41.82 ▼1.06 |
Sheets Divi Counter /wp-admin/options-general.php?page=tct_ddc | 858 | 1.96 | 21.67 | 25.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- 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
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=tct_ddc
- > Notice in wp-content/plugins/tct-dynamic-spreadsheet-counter-for-divi/TCT-Dynamic-Spreadsheet-Counter-for-Divi.php+58
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tct-dynamic-spreadsheet-counter-for-divi/TCT-Dynamic-Spreadsheet-Counter-for-Divi.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 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
No tags were found
tct-dynamic-spreadsheet-counter-for-divi/TCT-Dynamic-Spreadsheet-Counter-for-Divi.php 92% from 13 tests
The main PHP file in "TCT-Dynamic-Spreadsheet-Counter-for-Divi" ver. 1.4 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("tct-dynamic-spreadsheet-counter-for-divi.php" instead of "TCT-Dynamic-Spreadsheet-Counter-for-Divi.php")
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 detected110 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 37 | 10 | 110 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 8 | |
▷ Named functions | 8 | 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 are no PNG files in this plugin