Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.29MB] [CPU: ▼2.35ms] Passed 4 tests
Analyzing server-side resources used by WP Tumblr Auto Publish
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 43.41 ▲0.28 |
Dashboard /wp-admin | 3.65 ▲0.30 | 51.50 ▼14.03 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 53.86 ▲8.08 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.30 | 90.85 ▼0.29 |
Media Library /wp-admin/upload.php | 3.51 ▲0.27 | 37.79 ▲4.63 |
Suggest a Feature /wp-admin/admin.php?page=tumblr-auto-publish-suggest-features | 3.52 | 35.53 |
Logs /wp-admin/admin.php?page=tumblr-auto-publish-log | 3.49 | 36.01 |
About /wp-admin/admin.php?page=tumblr-auto-publish-about | 3.73 | 37.29 |
Settings /wp-admin/admin.php?page=tumblr-auto-publish-settings | 3.74 | 38.74 |
Server storage [IO: ▲1.57MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 306 new files
Database: no new tables, 30 new options
New WordPress options |
---|
xyz_tbap_post_logs |
xyz_tbap_future_to_publish |
xyz_tbap_default_selection_edit |
xyz_tbap_apply_filters |
xyz_tbap_tbpost_media_permission |
xyz_tbap_include_categories |
xyz_tbap_include_pages |
xyz_tbap_tbpost_permission |
xyz_tbap_tbconsumer_id |
xyz_tbap_tb_id |
... |
Browser metrics Passed 4 tests
A check of browser resources used by WP Tumblr Auto Publish
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲109 | 14.27 ▲0.11 | 1.86 ▲0.05 | 39.80 ▼3.19 |
Dashboard /wp-admin | 2,221 ▲47 | 5.54 ▼0.11 | 93.60 ▲1.78 | 79.64 ▲37.11 |
Posts /wp-admin/edit.php | 2,144 ▲44 | 2.02 ▼0.13 | 38.61 ▲3.27 | 33.59 ▼1.81 |
Add New Post /wp-admin/post-new.php | 1,561 ▲35 | 23.09 ▼0.05 | 673.78 ▲57.00 | 56.19 ▲4.98 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.13 ▼0.05 | 97.84 ▼10.85 | 73.22 ▲30.26 |
Suggest a Feature /wp-admin/admin.php?page=tumblr-auto-publish-suggest-features | 1,118 | 1.66 | 26.19 | 54.95 |
Logs /wp-admin/admin.php?page=tumblr-auto-publish-log | 1,130 | 1.65 | 25.04 | 34.71 |
About /wp-admin/admin.php?page=tumblr-auto-publish-about | 2,168 | 1.81 | 24.18 | 44.34 |
Settings /wp-admin/admin.php?page=tumblr-auto-publish-settings | 1,628 | 1.76 | 27.82 | 117.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- xyz_credit_link
- widget_recent-comments
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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 79× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'TumblrTest' not found in wp-content/plugins/auto-publish-tumblr/vendor/tumblr/tumblr/test/TaggedTest.php:3
- > PHP Fatal error
Uncaught Error: Interface 'DeepCopy\\Filter\\Filter' not found in wp-content/plugins/auto-publish-tumblr/vendor/myclabs/deep-copy/src/DeepCopy/Filter/SetNullFilter.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/auto-publish-tumblr/vendor/guzzlehttp/psr7/src/FnStream.php:15
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/auto-publish-tumblr/vendor/guzzlehttp/psr7/src/BufferStream.php:17
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/auto-publish-tumblr/vendor/guzzlehttp/promises/src/Coroutine.php:45
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/auto-publish-tumblr/vendor/guzzlehttp/psr7/src/LazyOpenStream.php:13
- > PHP Fatal error
Uncaught Error: Class 'DeepCopy\\f008\\A' not found in wp-content/plugins/auto-publish-tumblr/vendor/myclabs/deep-copy/fixtures/f008/B.php:5
- > PHP Fatal error
Uncaught Error: Interface 'DeepCopy\\Matcher\\Matcher' not found in wp-content/plugins/auto-publish-tumblr/vendor/myclabs/deep-copy/src/DeepCopy/Matcher/Doctrine/DoctrineProxyMatcher.php:11
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Cookie\\CookieJar' not found in wp-content/plugins/auto-publish-tumblr/vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php:8
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Cookie\\CookieJar' not found in wp-content/plugins/auto-publish-tumblr/vendor/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
auto-publish-tumblr/wp-tumblr-auto-publish.php 85% from 13 tests
"WP Tumblr Auto Publish" version 1.2.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 226 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("auto-publish-tumblr.php" instead of "wp-tumblr-auto-publish.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected24,443 lines of code in 245 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 194 | 2,744 | 6,688 | 14,325 |
PO File | 9 | 1,629 | 1,692 | 4,222 |
Markdown | 19 | 1,409 | 0 | 3,914 |
JSON | 12 | 14 | 0 | 1,200 |
CSS | 1 | 153 | 3 | 615 |
YAML | 6 | 27 | 3 | 116 |
JavaScript | 1 | 4 | 0 | 23 |
XML | 2 | 0 | 0 | 19 |
make | 1 | 4 | 0 | 9 |
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.39 |
Average class complexity | 9.65 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 88.00 |
Average method complexity | 2.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 33 | |
Interfaces | 29 | |
Traits | 3 | |
Classes | 135 | |
▷ Abstract classes | 2 | 1.48% |
▷ Concrete classes | 133 | 98.52% |
▷ Final classes | 34 | 25.56% |
Methods | 958 | |
▷ Static methods | 151 | 15.76% |
▷ Public methods | 812 | 84.76% |
▷ Protected methods | 6 | 0.63% |
▷ Private methods | 140 | 14.61% |
Functions | 195 | |
▷ Named functions | 63 | 32.31% |
▷ Anonymous functions | 132 | 67.69% |
Constants | 66 | |
▷ Global constants | 3 | 4.55% |
▷ Class constants | 63 | 95.45% |
▷ Public constants | 52 | 82.54% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
26 PNG files occupy 0.12MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/tick.png | 0.91KB | 0.87KB | ▼ 4.30% |
images/donate.png | 3.45KB | 0.72KB | ▼ 78.97% |
images/xyz_logo.png | 9.26KB | 3.02KB | ▼ 67.36% |
images/pause.png | 6.80KB | 4.51KB | ▼ 33.71% |
vendor/myclabs/deep-copy/doc/graph.png | 6.29KB | 3.03KB | ▼ 51.86% |