Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.35ms] Passed 4 tests
This is a short check of server-side resources used by SSP Stacktable Tables
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 45.99 ▲2.25 |
Dashboard /wp-admin | 3.35 ▲0.05 | 52.70 ▲1.18 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.48 ▼7.10 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 89.28 ▼12.55 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.97 ▲1.08 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
ssp_stacktable_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SSP Stacktable Tables
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 14.80 ▲0.22 | 2.01 ▼0.02 | 42.94 ▼0.86 |
Dashboard /wp-admin | 2,225 ▲37 | 5.85 ▼0.05 | 102.09 ▼5.38 | 40.02 ▼5.56 |
Posts /wp-admin/edit.php | 2,105 ▲13 | 2.01 ▲0.00 | 35.16 ▼6.08 | 33.19 ▼3.69 |
Add New Post /wp-admin/post-new.php | 1,546 ▲27 | 23.50 ▲0.32 | 675.05 ▲41.97 | 65.95 ▲9.17 |
Media Library /wp-admin/upload.php | 1,401 ▲19 | 4.17 ▼0.04 | 97.60 ▼1.92 | 42.47 ▼1.40 |
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 were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ssp-stacktable-tables/ssp-stacktable-tables.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: responsive, tables, stacktable, responsive tables, mobile
ssp-stacktable-tables/ssp-stacktable-tables.php Passed 13 tests
The entry point to "SSP Stacktable Tables" version 1.0.0 is a PHP file that has certain tags in its header comment area
88 characters long description:
Reformat tables for mobile devices using the jQuery Stacktable plugin from John Polacek.
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 detected401 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 32 | 29 | 220 |
PHP | 2 | 17 | 25 | 169 |
CSS | 2 | 5 | 1 | 12 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 12 | |
▷ Named functions | 12 | 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
There are no PNG files in this plugin