Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.51ms] Passed 4 tests
A check of server-side resources used by Resolution Toolkit
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 43.53 ▲4.56 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.98 ▼9.57 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.38 ▼2.40 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.64 ▼12.65 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.07 ▲2.58 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Resolution Toolkit
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 14.48 ▼0.15 | 2.05 ▲0.04 | 37.99 ▼11.23 |
Dashboard /wp-admin | 2,224 ▲30 | 5.89 ▲0.93 | 102.67 ▼10.92 | 41.90 ▼2.87 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.05 ▲0.04 | 33.25 ▼2.71 | 36.94 ▲1.63 |
Add New Post /wp-admin/post-new.php | 1,545 ▲14 | 23.24 ▼0.13 | 626.12 ▼61.84 | 52.08 ▼3.39 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.23 ▲0.02 | 105.74 ▲2.57 | 48.44 ▲6.31 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Please take a closer look at the following
- 4× 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/resolution-toolkit/resolution-toolkit.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/resolution-toolkit/inc/widgets/social/widget-flickr.php:3
- > PHP Fatal error
Uncaught Error: Class 'Resolution_Toolkit' not found in wp-content/plugins/resolution-toolkit/inc/meta-boxes/featured-content.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/resolution-toolkit/inc/widgets/social/widget-twitter.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
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
1 plugin tags: tweet
resolution-toolkit/resolution-toolkit.php Passed 13 tests
The main PHP script in "Resolution Toolkit" version 1.0.3 is automatically included on every request by WordPress
80 characters long description:
A specific plugin use in Resolution Lite Theme to help you display tweet widget.
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 detected541 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 120 | 90 | 508 |
JavaScript | 2 | 6 | 11 | 33 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 10.25 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 3 | 13.04% |
▷ Public methods | 21 | 91.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 8.70% |
Functions | 6 | |
▷ Named functions | 4 | 66.67% |
▷ Anonymous functions | 2 | 33.33% |
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