Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.22ms] Passed 4 tests
Analyzing server-side resources used by ChatMe Sharing JetPack
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.50 ▼3.40 |
Dashboard /wp-admin | 3.32 ▲0.01 | 49.90 ▲4.34 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 43.69 ▼4.82 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 102.59 ▲2.89 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.52 ▲0.45 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ChatMe Sharing JetPack
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲66 | 13.65 ▲0.39 | 1.70 ▼2.73 | 43.03 ▲1.15 |
Dashboard /wp-admin | 2,216 ▲28 | 5.80 ▲0.90 | 98.12 ▼19.00 | 42.78 ▲1.23 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.04 ▲0.00 | 34.01 ▼3.53 | 36.82 ▲3.37 |
Add New Post /wp-admin/post-new.php | 1,552 ▲16 | 18.23 ▼4.72 | 599.57 ▼47.18 | 45.76 ▼3.78 |
Media Library /wp-admin/upload.php | 1,398 ▲10 | 4.17 ▼0.03 | 99.24 ▲0.88 | 40.47 ▼0.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
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
Even though no errors were found, 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
Please fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Sharing_Source' not found in wp-content/plugins/chatme-sharing-jetpack/classes/class.chatme-sharing-jetpack.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chatme-sharing-jetpack/chatme-sharing-jetpack.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: Please add an image for screenshot #1 (The ChatMe Sharing Button)
chatme-sharing-jetpack/chatme-sharing-jetpack.php 92% from 13 tests
The entry point to "ChatMe Sharing JetPack" version 1.0 RC 1... is a PHP file that has certain tags in its header comment area
The following require your attention:
- Version: Use periods and digits only for your plugin's version number (ex. "1.0.3" instead of "1.0 RC 1...")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected123 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 60 |
PHP | 2 | 11 | 15 | 52 |
CSS | 1 | 1 | 0 | 11 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
There are no PNG files in this plugin