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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.53ms] Passed 4 tests
A check of server-side resources used by @You
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.67 ▼6.31 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.04 ▼5.60 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.14 ▼0.39 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 92.72 ▼5.81 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.96 ▲7.42 |
@You /wp-admin/options-general.php?page=at-you-options | 3.28 | 39.50 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 10 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
at_you_comments_content |
widget_recent-comments |
at_you_post_content |
widget_theysaidso_widget |
at_you_post_title |
db_upgraded |
theysaidso_admin_options |
at_you_comments_title |
Browser metrics Passed 4 tests
This is an overview of browser requirements for @You
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.83 ▲0.54 | 1.76 ▼0.03 | 38.59 ▼3.66 |
Dashboard /wp-admin | 2,207 ▲22 | 5.81 ▼0.23 | 94.44 ▼9.08 | 39.39 ▼3.15 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▼0.02 | 39.54 ▼2.67 | 34.80 ▼0.52 |
Add New Post /wp-admin/post-new.php | 1,545 ▲23 | 18.63 ▼4.37 | 674.56 ▼7.83 | 59.82 ▲8.68 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.23 ▲0.01 | 97.68 ▼3.85 | 43.90 ▼3.59 |
@You /wp-admin/options-general.php?page=at-you-options | 1,998 | 8.31 | 158.55 | 79.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 10 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- at_you_post_title
- at_you_comments_content
- widget_theysaidso_widget
- at_you_post_content
- at_you_comments_title
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× 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/at-you/options.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/at-you/at-you.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: twitter, comments, at
at-you/at-you.php Passed 13 tests
The main PHP file in "@You" ver. 1.1.7 adds more information about the plugin and also serves as the entry point for this plugin
40 characters long description:
Allow visitors @ others in the comments.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected1,474 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 91 | 13 | 952 |
PHP | 2 | 45 | 25 | 242 |
PO File | 2 | 48 | 48 | 236 |
CSS | 2 | 0 | 0 | 44 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 11 | |
▷ Named functions | 11 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin