Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.64ms] Passed 4 tests
This is a short check of server-side resources used by Tweetific
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 446.02 ▲403.36 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.06 ▼6.81 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 45.36 ▲1.47 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 80.95 ▼12.98 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.71 ▼0.23 |
Tweetific Settings /wp-admin/options-general.php?page=tweetific_settings | 3.26 | 34.87 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
tweetific_version |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Tweetific: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲156 | 13.62 ▼0.77 | 8.45 ▲6.56 | 41.61 ▼0.74 |
Dashboard /wp-admin | 2,211 ▲23 | 5.83 ▲0.96 | 96.66 ▼8.47 | 39.03 ▼8.12 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.02 ▲0.01 | 40.08 ▲3.17 | 35.72 ▲1.65 |
Add New Post /wp-admin/post-new.php | 1,521 ▲7 | 18.03 ▲0.50 | 641.38 ▼38.46 | 56.61 ▼16.56 |
Media Library /wp-admin/upload.php | 1,399 ▲11 | 4.19 ▲0.02 | 98.74 ▼10.18 | 40.95 ▼3.35 |
Tweetific Settings /wp-admin/options-general.php?page=tweetific_settings | 1,051 | 3.30 | 47.38 | 28.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- tweetific_version
- widget_recent-comments
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/tweetific/includes/lib/twitter-api-php/index.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/tweetific/includes/lib/widget.php:3
- > 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)
No browser issues were found
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
Attributes that need to be fixed:
- Contributors: The plugin contributors field is not present
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Description of first screenshot named screenshot-1), #2 (Description of second screenshot named screenshot-2), #3 (Description of third screenshot named screenshot-3)
tweetific/tweetific.php 92% from 13 tests
The main PHP file in "Tweetific" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("3.9" instead of "4.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,259 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 292 | 560 | 951 |
JavaScript | 7 | 25 | 15 | 138 |
LESS | 1 | 13 | 0 | 65 |
Sass | 1 | 15 | 0 | 58 |
JSON | 2 | 0 | 0 | 46 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 22.83 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 3.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 2 | 4.00% |
▷ Public methods | 46 | 92.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 8.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin