Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.90MB] [CPU: ▼55.28ms] Passed 4 tests
This is a short check of server-side resources used by oEmbed Travis
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 5.08 ▼37.09 |
Dashboard /wp-admin | 2.11 ▼1.20 | 6.43 ▼45.34 |
Posts /wp-admin/edit.php | 2.11 ▼1.25 | 6.36 ▼43.55 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.78 | 6.35 ▼95.15 |
Media Library /wp-admin/upload.php | 2.11 ▼1.12 | 4.86 ▼32.47 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for oEmbed Travis
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,884 ▲113 | 13.59 ▼0.82 | 5.85 ▲3.75 | 42.95 ▼5.19 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼0.02 | 100.20 ▼10.07 | 38.01 ▼2.49 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.05 | 38.30 ▲1.39 | 33.60 ▲0.36 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 17.73 ▲0.13 | 664.06 ▲52.49 | 58.51 ▼1.07 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.26 ▲0.01 | 96.82 ▼9.25 | 44.55 ▼1.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/oembed-travis/oembed-travis.php+34
implode(): Passing glue string after array is deprecated. Swap the parameters
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/oembed-travis/oembed-travis.php:23
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
6 plugin tags: link, url, post, travis ci, travis...
oembed-travis/oembed-travis.php Passed 13 tests
The main file in "oEmbed Travis" v. 0.3.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
83 characters long description:
Embed your build logs on Travis CI into WordPress easily. Discuss on your history:)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected951 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 15 | 1 | 343 |
PHP | 1 | 49 | 15 | 272 |
CoffeeScript | 1 | 36 | 15 | 181 |
Bourne Shell | 1 | 21 | 10 | 94 |
PO File | 1 | 6 | 8 | 39 |
JSON | 1 | 0 | 0 | 13 |
YAML | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 3.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 5 | 38.46% |
▷ Public methods | 10 | 76.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 23.08% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 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
PNG images were not found in this plugin