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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.17MB] [CPU: ▼4.48ms] Passed 4 tests
A check of server-side resources used by Evernote Sync
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 40.81 ▲3.34 |
Dashboard /wp-admin | 3.48 ▲0.13 | 47.51 ▼12.85 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 47.04 ▲0.79 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 83.66 ▼8.14 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 40.15 ▲2.28 |
Server storage [IO: ▲1.43MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 108 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_evernote_sync_record |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
evernotesync_last |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Evernote Sync
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.24 ▼0.49 | 1.66 ▲0.05 | 39.47 ▲1.13 |
Dashboard /wp-admin | 2,202 ▲25 | 5.59 ▼0.10 | 78.95 ▼5.86 | 36.70 ▼5.31 |
Posts /wp-admin/edit.php | 2,107 ▲28 | 2.01 ▼0.00 | 34.37 ▼1.30 | 34.47 ▲0.69 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.58 ▲0.81 | 666.29 ▲15.71 | 60.09 ▲4.33 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.19 ▼0.06 | 108.10 ▼7.89 | 48.04 ▼2.20 |
EvernoteSync /wp-admin/evernotesync.php | 26 | 0.42 | 0.12 | 12.85 |
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
The following items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_evernote_sync_record
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- can_compress_scripts
- evernotesync_last
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 41× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Thrift\\Protocol\\JSON\\BaseContext' not found in wp-content/plugins/evernote-sync/src/Thrift/Protocol/JSON/PairContext.php:28
- > PHP Fatal error
Uncaught Error: Interface 'Evernote\\Enml\\CSSInliner\\CssInlinerInterface' not found in wp-content/plugins/evernote-sync/src/Evernote/Enml/CSSInliner/CssToInlineStyles.php:5
- > PHP Fatal error
Uncaught Error: Class 'Thrift\\Type\\TConstant' not found in wp-content/plugins/evernote-sync/src/EDAM/Types/Types.php:6290
- > PHP Fatal error
Uncaught Error: Interface 'Evernote\\File\\FileInterface' not found in wp-content/plugins/evernote-sync/src/Evernote/File/File.php:5
- > PHP Fatal error
Uncaught Error: Class 'Thrift\\Protocol\\TBinaryProtocol' not found in wp-content/plugins/evernote-sync/src/Thrift/Protocol/TBinaryProtocolAccelerated.php:32
- > PHP Fatal error
Uncaught Error: Class 'Thrift\\Protocol\\JSON\\BaseContext' not found in wp-content/plugins/evernote-sync/src/Thrift/Protocol/JSON/ListContext.php:28
- > PHP Fatal error
Uncaught Error: Interface 'Evernote\\Enml\\Converter\\HtmlConverterInterface' not found in wp-content/plugins/evernote-sync/src/Evernote/Enml/Converter/EnmlToHtmlConverter.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Thrift\\Factory\\TProtocolFactory' not found in wp-content/plugins/evernote-sync/src/Thrift/Factory/TBinaryProtocolFactory.php:31
- > PHP Fatal error
Uncaught Error: Class 'Evernote\\Model\oteContent' not found in wp-content/plugins/evernote-sync/src/Evernote/Model/HtmlNoteContent.php:7
- > PHP Fatal error
Uncaught Error: Class 'Thrift\\Type\\TConstant' not found in wp-content/plugins/evernote-sync/src/EDAM/Limits/Types.php:20
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/evernotesync.php
- > Network (severe)
wp-admin/evernotesync.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
2 plugin tags: sync, evernote
evernote-sync/evernote-sync.php 85% from 13 tests
This is the main PHP file of "Evernote Sync" version 2.0.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Domain Path: The domain path is invalid: folder "/languages/" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected42,754 lines of code in 105 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 102 | 3,615 | 2,540 | 42,559 |
PO File | 1 | 47 | 3 | 112 |
XSLT | 2 | 21 | 5 | 83 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 20.04 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 662.00 |
Average method complexity | 4.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 26 | |
Interfaces | 10 | |
Traits | 0 | |
Classes | 320 | |
▷ Abstract classes | 7 | 2.19% |
▷ Concrete classes | 313 | 97.81% |
▷ Final classes | 13 | 4.15% |
Methods | 1,939 | |
▷ Static methods | 167 | 8.61% |
▷ Public methods | 1,710 | 88.19% |
▷ Protected methods | 187 | 9.64% |
▷ Private methods | 42 | 2.17% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 170 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 170 | 100.00% |
▷ Public constants | 170 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin