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 gracefully, with no errors
Server metrics [RAM: ▲0.28MB] [CPU: ▲1.60ms] Passed 4 tests
A check of server-side resources used by Tally Homepage Control
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 43.75 ▲7.81 |
Dashboard /wp-admin | 3.64 ▲0.34 | 52.35 ▲1.51 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 56.39 ▲9.92 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.27 | 89.83 ▼6.05 |
Media Library /wp-admin/upload.php | 3.47 ▲0.25 | 38.84 ▲3.12 |
All Builder Content /wp-admin/edit.php?post_type=tally_builder_c | 3.54 | 44.17 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Tally Homepage Control: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,094 ▲359 | 15.55 ▲1.15 | 9.11 ▲7.03 | 61.06 ▲13.25 |
Dashboard /wp-admin | 2,365 ▲174 | 6.71 ▲1.79 | 140.51 ▲37.26 | 90.46 ▲49.05 |
Posts /wp-admin/edit.php | 2,286 ▲197 | 3.59 ▲1.43 | 53.59 ▲20.31 | 71.66 ▲38.07 |
Add New Post /wp-admin/post-new.php | 1,549 ▲16 | 23.46 ▲0.29 | 631.51 ▼46.17 | 34.81 ▼21.52 |
Media Library /wp-admin/upload.php | 1,428 ▲43 | 4.30 ▲0.06 | 83.36 ▼22.24 | 79.10 ▲33.89 |
All Builder Content /wp-admin/edit.php?post_type=tally_builder_c | 1,252 | 3.66 | 48.44 | 74.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/tally-homepage-control/tally-homepage-control.php
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tally-homepage-control/frontend.php:64
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tally-homepage-control/script-loader.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tally-homepage-control/functions.php:341
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tally-homepage-control/post-type.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tally-homepage-control/metabox.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/tally-homepage-control/sections.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tally-homepage-control/admin-pages.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: home content changes, tallythemes, pagebuilder, content change
tally-homepage-control/tally-homepage-control.php 92% from 13 tests
The main PHP file in "Tally Homepage Control" ver. 1.6 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin4,631 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 545 | 27 | 3,088 |
PHP | 9 | 230 | 139 | 1,234 |
SVG | 1 | 0 | 0 | 288 |
JavaScript | 4 | 5 | 15 | 21 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 57 | |
▷ Named functions | 57 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icon-light.png | 1.42KB | 0.91KB | ▼ 35.68% |