Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/wp-evernote-synchronizer/evernote-sdk-php-master/lib/autoload.php+39
__autoload() is deprecated, use spl_autoload_register() instead
Server metrics [RAM: ▼1.53MB] [CPU: ▼53.29ms] Passed 4 tests
Analyzing server-side resources used by WP Evernote Synchronizer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.45 ▼1.01 | 6.45 ▼35.57 |
Dashboard /wp-admin | 2.47 ▼0.83 | 7.17 ▼48.12 |
Posts /wp-admin/edit.php | 2.48 ▼0.88 | 6.54 ▼44.91 |
Add New Post /wp-admin/post-new.php | 2.47 ▼3.41 | 6.84 ▼84.57 |
Media Library /wp-admin/upload.php | 2.48 ▼0.75 | 8.68 ▼26.39 |
Notebook /wp-admin/edit-tags.php?taxonomy=wpes-evernote-notebook&post_type=wpes-evernote | 2.48 | 6.64 |
Tag /wp-admin/edit-tags.php?taxonomy=wpes-evernote-tag&post_type=wpes-evernote | 2.48 | 7.85 |
Settings /wp-admin/edit.php?post_type=wpes-evernote&page=wpes_options | 2.48 | 7.52 |
All Evernotes /wp-admin/edit.php?post_type=wpes-evernote | 2.48 | 7.04 |
Add new /wp-admin/post-new.php?post_type=wpes-evernote | 2.48 | 6.65 |
Server storage [IO: ▲2.52MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 71 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
WP Evernote Synchronizer: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲103 | 14.80 ▲0.50 | 1.68 ▼0.23 | 39.90 ▼5.47 |
Dashboard /wp-admin | 2,273 ▲73 | 5.91 ▲0.06 | 105.22 ▼1.91 | 36.82 ▼9.35 |
Posts /wp-admin/edit.php | 2,149 ▲49 | 2.06 ▲0.06 | 37.05 ▼1.02 | 30.32 ▼8.65 |
Add New Post /wp-admin/post-new.php | 1,578 ▲29 | 23.28 ▲0.07 | 609.22 ▼7.81 | 55.22 ▼16.90 |
Media Library /wp-admin/upload.php | 1,449 ▲49 | 4.22 ▼0.04 | 108.13 ▼3.59 | 48.40 ▼1.54 |
Notebook /wp-admin/edit-tags.php?taxonomy=wpes-evernote-notebook&post_type=wpes-evernote | 1,320 | 2.32 | 29.31 | 29.20 |
Tag /wp-admin/edit-tags.php?taxonomy=wpes-evernote-tag&post_type=wpes-evernote | 1,320 | 2.32 | 28.51 | 30.38 |
Settings /wp-admin/edit.php?post_type=wpes-evernote&page=wpes_options | 1,008 | 1.85 | 31.73 | 39.61 |
All Evernotes /wp-admin/edit.php?post_type=wpes-evernote | 1,140 | 1.98 | 36.99 | 27.76 |
Add new /wp-admin/post-new.php?post_type=wpes-evernote | 2,446 | 7.72 | 173.87 | 61.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/wp-evernote-synchronizer/evernote-sdk-php-master/lib/autoload.php+39
__autoload() is deprecated, use spl_autoload_register() instead
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- wpes_evernote_update_suspend
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 6 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wpes-evernote
- > Deprecated in wp-content/plugins/wp-evernote-synchronizer/evernote-sdk-php-master/lib/autoload.php+39
__autoload() is deprecated, use spl_autoload_register() instead
- 6 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wpes-evernote
- > Deprecated in wp-content/plugins/wp-evernote-synchronizer/evernote-sdk-php-master/lib/transport/THttpClient.php+93
Array and string offset access syntax with curly braces is deprecated
SRP 0% 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
Almost there! Just fix the following items
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-evernote-synchronizer/evernote-sdk-php-master/sample/oauth/functions.php
- > /wp-content/plugins/wp-evernote-synchronizer/evernote-sdk-php-master/sample/oauth/index.php
- > /wp-content/plugins/wp-evernote-synchronizer/evernote-sdk-php-master/sample/client/EDAMTest.php
- > /wp-content/plugins/wp-evernote-synchronizer/evernote-sdk-php-master/sample/oauth/sampleApp.php
- 138× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
include_once(): Failed opening '/Thrift.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-evernote-synchronizer/evernote-sdk-php-master/lib/packages/Types/Types_types.php on line 9
- > PHP Warning
include_once(): Failed opening '/packages/Types/Types_types.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-evernote-synchronizer/evernote-sdk-php-master/sample/oauth/lib/packages/Types/Types_constants.php on line 9
- > PHP Notice
Undefined index: THRIFT_ROOT in wp-content/plugins/wp-evernote-synchronizer/evernote-sdk-php-master/lib/packages/UserStore/UserStore_constants.php on line 9
- > PHP Warning
include_once(): Failed opening '/packages/Limits/Limits_types.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-evernote-synchronizer/evernote-sdk-php-master/lib/packages/Limits/Limits_constants.php on line 9
- > PHP Warning
include_once(): Failed opening '/Thrift.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-evernote-synchronizer/evernote-sdk-php-master/sample/oauth/lib/packages/UserStore/UserStore_types.php on line 9
- > PHP Notice
Undefined index: THRIFT_ROOT in wp-content/plugins/wp-evernote-synchronizer/evernote-sdk-php-master/sample/oauth/lib/packages/Limits/Limits_constants.php on line 9
- > PHP Warning
include_once(): Failed opening '/packages/Errors/Errors_types.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-evernote-synchronizer/evernote-sdk-php-master/sample/oauth/lib/packages/NoteStore/NoteStore_types.php on line 13
- > PHP Warning
include_once(): Failed opening '/packages/UserStore/UserStore_types.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-evernote-synchronizer/evernote-sdk-php-master/lib/packages/NoteStore/NoteStore_types.php on line 11
- > PHP Warning
include_once(/packages/Types/Types_types.php): failed to open stream: No such file or directory in wp-content/plugins/wp-evernote-synchronizer/evernote-sdk-php-master/sample/oauth/lib/packages/UserStore/UserStore_types.php on line 11
- > PHP Warning
include_once(/packages/UserStore/UserStore_types.php): failed to open stream: No such file or directory in wp-content/plugins/wp-evernote-synchronizer/evernote-sdk-php-master/sample/oauth/lib/packages/UserStore/UserStore_constants.php on line 9
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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:
- Donate link: Invalid URI ("")
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== wp-evernote-synchronizer ===
)
wp-evernote-synchronizer/wp-evernote-synchronizer.php Passed 13 tests
The main PHP script in "WP Evernote Synchronizer" version 1.0.7 is automatically included on every request by WordPress
69 characters long description:
Enables to Import Notes from Evernote as pages of selected post type.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin74,571 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 4,750 | 1,119 | 73,122 |
C++ | 1 | 126 | 43 | 900 |
PO File | 1 | 86 | 90 | 256 |
Markdown | 2 | 50 | 0 | 143 |
JavaScript | 1 | 17 | 7 | 61 |
CSS | 1 | 13 | 0 | 45 |
JSON | 2 | 0 | 0 | 31 |
m4 | 1 | 3 | 4 | 8 |
C/C++ Header | 1 | 4 | 18 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 23.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 662.00 |
Average method complexity | 5.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 490 | |
▷ Abstract classes | 6 | 1.22% |
▷ Concrete classes | 484 | 98.78% |
▷ Final classes | 20 | 4.13% |
Methods | 2,743 | |
▷ Static methods | 17 | 0.62% |
▷ Public methods | 2,711 | 98.83% |
▷ Protected methods | 16 | 0.58% |
▷ Private methods | 16 | 0.58% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 194 | |
▷ Global constants | 6 | 3.09% |
▷ Class constants | 188 | 96.91% |
▷ Public constants | 188 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
evernote-sdk-php-master/sample/client/enlogo.png | 5.89KB | 3.27KB | ▼ 44.52% |