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.72MB] [CPU: ▲3.76ms] Passed 4 tests
A check of server-side resources used by Lemonade Social Networks Autoposter Pinterest
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.17 ▲0.70 | 57.07 ▲11.62 |
Dashboard /wp-admin | 4.02 ▲0.71 | 51.18 ▲2.76 |
Posts /wp-admin/edit.php | 4.13 ▲0.77 | 57.26 ▲8.68 |
Add New Post /wp-admin/post-new.php | 6.62 ▲0.73 | 96.68 ▼4.47 |
Media Library /wp-admin/upload.php | 3.94 ▲0.71 | 42.11 ▲8.06 |
Pins /wp-admin/admin.php?page=lemonade_sna_pinterest3 | 3.92 | 37.06 |
API Settings /wp-admin/admin.php?page=lemonade_sna_pinterest2 | 3.93 | 185.62 |
Getting PRO /wp-admin/admin.php?page=lemonade_sna_pinterest7 | 3.91 | 35.50 |
Lemonade SNA Pinterest /wp-admin/admin.php?page=lemonade_sna_pinterest1 | 3.91 | 37.09 |
Autoposter /wp-admin/admin.php?page=lemonade_sna_pinterest5 | 3.90 | 37.47 |
Live Stream /wp-admin/admin.php?page=lemonade_sna_pinterest6 | 3.91 | 37.65 |
Server storage [IO: ▲3.45MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 86 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_lemonade_autoposter_posts_published |
wp_lemonade_autoposter_templates |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Lemonade Social Networks Autoposter Pinterest
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲99 | 13.35 ▼1.23 | 1.91 ▲0.11 | 44.07 ▲6.45 |
Dashboard /wp-admin | 2,248 ▲57 | 5.86 ▲0.98 | 98.63 ▼9.93 | 40.69 ▲0.44 |
Posts /wp-admin/edit.php | 2,137 ▲45 | 2.05 ▲0.03 | 39.61 ▼2.11 | 35.95 ▼0.05 |
Add New Post /wp-admin/post-new.php | 1,564 ▲45 | 23.14 ▼0.06 | 661.35 ▲76.23 | 53.53 ▲0.39 |
Media Library /wp-admin/upload.php | 1,430 ▲45 | 4.18 ▼0.03 | 103.30 ▲0.58 | 46.00 ▲1.75 |
Pins /wp-admin/admin.php?page=lemonade_sna_pinterest3 | 1,425 | 3.27 | 59.72 | 103.72 |
API Settings /wp-admin/admin.php?page=lemonade_sna_pinterest2 | 1,022 | 3.33 | 44.97 | 33.96 |
Getting PRO /wp-admin/admin.php?page=lemonade_sna_pinterest7 | 928 | 2.94 | 39.58 | 45.85 |
Lemonade SNA Pinterest /wp-admin/admin.php?page=lemonade_sna_pinterest1 | 1,248 | 3.27 | 54.82 | 30.95 |
Autoposter /wp-admin/admin.php?page=lemonade_sna_pinterest5 | 5,495 | 3.46 | 120.79 | 43.41 |
Live Stream /wp-admin/admin.php?page=lemonade_sna_pinterest6 | 854 | 2.90 | 36.46 | 30.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_lemonade_autoposter_posts_published
- wp_lemonade_autoposter_templates
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=lemonade_sna_pinterest5
- > User deprecated in wp-includes/functions.php+5737
Function WP_User_Query was called with an argument that is deprecated since version 5.9.0! who is deprecated. Use capability instead.
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
- 31× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'DirkGroenen\\Pinterest\\Endpoints\\Endpoint' not found in wp-content/plugins/lemonade-sna-pinterest-edition/pinterest/api/Pinterest-API-PHP-master/src/Pinterest/Endpoints/Boards.php:15
- > PHP Fatal error
Uncaught Error: Class 'DirkGroenen\\Pinterest\\Endpoints\\Endpoint' not found in wp-content/plugins/lemonade-sna-pinterest-edition/pinterest/api/Pinterest-API-PHP-master/src/Pinterest/Endpoints/Following.php:16
- > PHP Notice
Trying to get property 'id' of non-object in wp-content/plugins/lemonade-sna-pinterest-edition/pinterest/tiles/lemonade_sna_pinterest_streamer.php on line 16
- > PHP Fatal error
require(): Failed opening required 'LEMONADE_SNA_PINTEREST_EXT_PATH/api/Pinterest-API-PHP-master/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/lemonade-sna-pinterest-edition/pinterest/tiles/lemonade_sna_pinterest_show_boards.php on line 14
- > PHP Warning
require(LEMONADE_SNA_PINTEREST_EXT_PATH/api/Pinterest-API-PHP-master/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/lemonade-sna-pinterest-edition/pinterest/tiles/lemonade_sna_get_pinterest_access_token.php on line 13
- > PHP Warning
Use of undefined constant LEMONADE_SNA_PINTEREST_PLUGIN_URL - assumed 'LEMONADE_SNA_PINTEREST_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/lemonade-sna-pinterest-edition/pinterest/lemonade_sna_pinterest.php on line 22
- > PHP Notice
Undefined variable: template in wp-content/plugins/lemonade-sna-pinterest-edition/pinterest/tiles/lemonade_sna_pinterest_streamer.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lemonade-sna-pinterest-edition/pinterest/lemonade_sna_pinterest_actions.php:14
- > PHP Fatal error
Uncaught Error: Class 'DirkGroenen\\Pinterest\\Endpoints\\Endpoint' not found in wp-content/plugins/lemonade-sna-pinterest-edition/pinterest/api/Pinterest-API-PHP-master/src/Pinterest/Endpoints/Users.php:16
- > PHP Fatal error
require_once(): Failed opening required 'LEMONADE_SNA_PINTEREST_EXT_PATH/api/Pinterest-API-PHP-master/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/lemonade-sna-pinterest-edition/pinterest/tiles/lemonade_sna_pinterest_post_on_board.php on line 18
- > PHP Fatal error
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 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 12 tag instead of maximum 10
lemonade-sna-pinterest-edition/lemonade_sna_core_pinterest.php 77% from 13 tests
The main file in "Lemonade Social Networks Autoposter Pinterest" v. 2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Description: Keep the plugin description shorter than 140 characters (currently 286 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("lemonade-sna-pinterest-edition.php" instead of "lemonade_sna_core_pinterest.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin58,749 lines of code in 75 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 16 | 103 | 23 | 24,231 |
JavaScript | 11 | 3,185 | 689 | 14,057 |
JSON | 4 | 0 | 0 | 13,989 |
PHP | 33 | 852 | 2,020 | 5,051 |
Markdown | 5 | 269 | 0 | 811 |
SVG | 1 | 0 | 0 | 542 |
YAML | 3 | 2 | 0 | 35 |
XML | 2 | 1 | 0 | 33 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 3.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 89 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 83 | 93.26% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 6.74% |
Functions | 67 | |
▷ Named functions | 54 | 80.60% |
▷ Anonymous functions | 13 | 19.40% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected