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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.86ms] Passed 4 tests
A check of server-side resources used by Twitter mentions in posts
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 52.29 ▲5.25 |
Dashboard /wp-admin | 3.43 ▲0.13 | 74.08 ▲8.88 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 48.36 ▼5.51 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 85.47 ▼11.94 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.82 ▼3.24 |
Twitter mentions Setting /wp-admin/options-general.php?page=twitter-mentions-in-posts | 3.24 | 36.23 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Twitter mentions in posts
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲91 | 13.89 ▼0.73 | 29.63 ▲27.79 | 45.69 ▲1.57 |
Dashboard /wp-admin | 2,199 ▲19 | 5.59 ▼0.11 | 89.41 ▼1.17 | 41.47 ▼0.25 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▲0.00 | 35.62 ▼3.77 | 35.08 ▼0.26 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 18.24 ▼5.50 | 640.68 ▼60.09 | 66.99 ▲13.15 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.15 ▼0.06 | 103.86 ▼12.97 | 46.90 ▼0.13 |
Twitter mentions Setting /wp-admin/options-general.php?page=twitter-mentions-in-posts | 877 | 2.04 | 25.63 | 28.37 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
Please fix the following
- 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/twitter-mentions-in-posts/twitter-mentions-in-posts.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: mentions, social, twitter, comments
twitter-mentions-in-posts/twitter-mentions-in-posts.php Passed 13 tests
This is the main PHP file of "Twitter mentions in posts" version 0.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
46 characters long description:
Show tweets about your posts right under them.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected207 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 22 | 14 | 207 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 13 | |
▷ Named functions | 13 | 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
No PNG files were detected