Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.41ms] Passed 4 tests
This is a short check of server-side resources used by Wordpress to Steemit
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 53.53 ▲12.99 |
Dashboard /wp-admin | 3.38 ▲0.07 | 51.51 ▼0.56 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 52.08 ▲1.28 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 87.33 ▼15.30 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 40.53 ▲4.94 |
Server storage [IO: ▲17.29MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Wordpress to Steemit
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,957 ▲186 | 18.67 ▲4.27 | 92.93 ▲91.04 | 38.95 ▼1.79 |
Dashboard /wp-admin | 2,222 ▲31 | 4.84 ▼0.09 | 101.15 ▼11.06 | 40.99 ▼1.65 |
Posts /wp-admin/edit.php | 2,105 ▲13 | 2.03 ▼0.15 | 37.28 ▼6.75 | 33.29 ▼3.54 |
Add New Post /wp-admin/post-new.php | 1,546 ▲17 | 23.60 ▲0.16 | 696.85 ▲72.44 | 57.47 ▼3.80 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.31 ▲0.12 | 109.61 ▼0.91 | 47.14 ▼3.15 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
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)
The smoke test was a success, however most plugin functionality was not tested
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 fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-to-steemit/admin/partials/posttosteemit-admin-display.php
- > /wp-content/plugins/wp-to-steemit/public/partials/posttosteemit-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: steamit, wordpress pages, cryptocurrency, sync, wordpress posts
wp-to-steemit/posttosteemit.php 92% from 13 tests
The primary PHP file in "Wordpress to Steemit" version 1.0.3 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-to-steemit.php" instead of "posttosteemit.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin4,835 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
JSON | 1 | 0 | 0 | 991 |
JavaScript | 6 | 126 | 186 | 672 |
PHP | 13 | 147 | 539 | 331 |
HTML | 1 | 39 | 0 | 169 |
CSS | 2 | 0 | 8 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 2.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 2 | 6.45% |
▷ Public methods | 26 | 83.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.13% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin