Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.33ms] Passed 4 tests
A check of server-side resources used by TrustActivity - Recent Sales and SignUp Popups (Fake Notifications)
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 44.37 ▼0.54 |
Dashboard /wp-admin | 3.32 ▼0.02 | 53.97 ▼12.76 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.38 ▼5.39 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 87.83 ▼6.98 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 34.42 ▼4.20 |
TrustActivity /wp-admin/options-general.php?page=trust_activity | 3.21 | 35.99 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for TrustActivity - Recent Sales and SignUp Popups (Fake Notifications)
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲74 | 13.26 ▼1.49 | 1.70 ▼0.39 | 43.99 ▲0.42 |
Dashboard /wp-admin | 2,226 ▲38 | 5.84 ▲0.05 | 99.68 ▼17.59 | 40.61 ▼2.22 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 2.01 ▼0.01 | 38.31 ▲3.97 | 37.78 ▼0.14 |
Add New Post /wp-admin/post-new.php | 1,552 ▲33 | 22.92 ▼0.23 | 643.20 ▼47.89 | 72.15 ▲19.25 |
Media Library /wp-admin/upload.php | 1,408 ▲20 | 4.29 ▲0.11 | 103.82 ▲0.83 | 43.95 ▼1.76 |
TrustActivity /wp-admin/options-general.php?page=trust_activity | 805 | 2.06 | 25.71 | 29.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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/trustactivity/trustactivity.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (TrustActivity Dashboard), #2 (Trustactivity.com website), #3 (Contact List), #4 (Proof Notifications samples)
- Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
trustactivity/trustactivity.php 92% from 13 tests
The main file in "TrustActivity - Recent Sales and SignUp Popups (Fake Notifications)" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 183 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
There were no executable files found in this plugin76 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 12 | 76 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 7 | |
▷ Named functions | 7 | 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 were not PNG files found in your plugin