Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼141.93ms] Passed 4 tests
Server-side resources used by Mitsol tweets
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.98 ▲0.26 | 37.59 ▲11.56 |
Dashboard /wp-admin | 3.20 ▲0.15 | 50.03 ▲0.04 |
Posts /wp-admin/edit.php | 3.25 ▲0.15 | 50.48 ▲2.33 |
Add New Post /wp-admin/post-new.php | 5.56 ▲0.13 | 93.96 ▼573.71 |
Media Library /wp-admin/upload.php | 3.15 ▲0.14 | 36.01 ▲3.62 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 3 new options
New WordPress options |
---|
ms_twwall_plugin_postlayout_settings |
ms_twwall_plugin_general_settings |
ms_twwall_plugin_color_settings |
Browser metrics Passed 4 tests
Mitsol tweets: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,701 ▲107 | 16.17 ▲0.47 | 8.78 ▼0.84 | 46.39 ▼1.20 |
Dashboard /wp-admin | 2,992 ▲61 | 5.91 ▼0.07 | 147.29 ▼7.34 | 117.28 ▼1.32 |
Posts /wp-admin/edit.php | 2,761 ▲22 | 2.68 ▲0.01 | 71.89 ▼1.74 | 98.31 ▲3.36 |
Add New Post /wp-admin/post-new.php | 1,606 ▲25 | 18.77 ▲0.55 | 386.06 ▼22.61 | 108.36 ▼10.19 |
Media Library /wp-admin/upload.php | 1,829 ▲19 | 5.05 ▲0.01 | 160.80 ▲8.62 | 125.42 ▲3.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/mitsol-tweets/admin/twitteroauth/twitteroauth.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/mitsol-tweets/twitteroauth/twitteroauth.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/mitsol-tweets/mitsol-tweets.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: Please delete some tags, you are using 23 tag instead of maximum 10
mitsol-tweets/mitsol-tweets.php Passed 13 tests
Analyzing the main PHP file in "Mitsol tweets" version 1.1
111 characters long description:
Shows user tweets, hashtag tweets and matched search string tweets in slider and vertical display(free version)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin7,593 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 963 | 35 | 5,387 |
PHP | 7 | 381 | 776 | 2,206 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 8.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 4 | 16.67% |
▷ Concrete classes | 20 | 83.33% |
▷ Final classes | 0 | 0.00% |
Methods | 152 | |
▷ Static methods | 20 | 13.16% |
▷ Public methods | 130 | 85.53% |
▷ Protected methods | 4 | 2.63% |
▷ Private methods | 18 | 11.84% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
No PNG images were found in this plugin