Benchmarks
Plugin footprint 65% 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.01MB] [CPU: ▼6.05ms] Passed 4 tests
This is a short check of server-side resources used by Skype Addon
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.45 ▼1.12 |
Dashboard /wp-admin | 3.31 ▲0.01 | 42.02 ▼4.01 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.63 ▼1.76 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 82.40 ▼16.56 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 33.75 ▼1.88 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Skype Addon
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲99 | 13.13 ▼1.24 | 5.40 ▲3.65 | 35.92 ▼5.78 |
Dashboard /wp-admin | 2,225 ▲37 | 4.80 ▼1.01 | 107.65 ▲2.35 | 42.81 ▲3.56 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 1.98 ▼0.01 | 41.10 ▲1.14 | 35.79 ▼0.66 |
Add New Post /wp-admin/post-new.php | 1,546 ▲27 | 23.62 ▲0.25 | 637.94 ▼12.69 | 59.10 ▲1.99 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.26 ▲0.09 | 95.91 ▼8.53 | 43.53 ▼0.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method SkypeAddon::uninstall() should not be called statically
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 12× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/jc-skype-addon/views/admin_addskype.php on line 15
- > PHP Notice
Undefined variable: result in wp-content/plugins/jc-skype-addon/views/admin_addskype.php on line 15
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/jc-skype-addon/views/admin_addskype.php on line 22
- > PHP Notice
Undefined variable: result in wp-content/plugins/jc-skype-addon/views/admin_addskype.php on line 22
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/jc-skype-addon/views/admin_addskype.php:51
- > PHP Warning
in_array() expects parameter 2 to be array, null given in wp-content/plugins/jc-skype-addon/views/admin_addskype.php on line 16
- > PHP Notice
Undefined variable: result in wp-content/plugins/jc-skype-addon/views/admin_addskype.php on line 10
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/jc-skype-addon/views/admin_addskype.php on line 10
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/jc-skype-addon/views/admin_addskype.php on line 16
- > PHP Warning
in_array() expects parameter 2 to be array, null given in wp-content/plugins/jc-skype-addon/views/admin_addskype.php on line 15
- > PHP Notice
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 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: skype chat, addon, socialmedia, skype, skype-addon
jc-skype-addon/skypeaddon.php 92% from 13 tests
"Skype Addon" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("jc-skype-addon.php" instead of "skypeaddon.php")
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 detected216 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 49 | 68 | 216 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 20 | |
▷ Static methods | 3 | 15.00% |
▷ Public methods | 14 | 70.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 30.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin