Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.82MB] [CPU: ▲8.08ms] Passed 4 tests
Analyzing server-side resources used by Photo Engine (Media Organizer & Lightroom)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.22 ▲0.75 | 50.09 ▲7.60 |
Dashboard /wp-admin | 4.15 ▲0.80 | 67.62 ▲7.49 |
Posts /wp-admin/edit.php | 4.20 ▲0.84 | 70.11 ▲23.13 |
Add New Post /wp-admin/post-new.php | 6.75 ▲0.87 | 97.51 ▲1.07 |
Media Library /wp-admin/upload.php | 4.11 ▲0.88 | 53.41 ▲16.15 |
Photo Engine /wp-admin/admin.php?page=wplr_sync_settings | 4.04 | 45.31 |
Dashboard /wp-admin/admin.php?page=meowapps-main-menu | 4.24 | 62.59 |
Server storage [IO: ▲1.16MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 54 new files
Database: 4 new tables, 6 new options
New tables |
---|
wp_lrsync |
wp_lrsync_collections |
wp_lrsync_relations |
wp_lrsync_meta |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Photo Engine (Media Organizer & Lightroom)
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,932 ▲171 | 14.35 ▲0.01 | 1.82 ▲0.22 | 42.82 ▲1.83 |
Dashboard /wp-admin | 2,335 ▲158 | 6.06 ▲0.46 | 115.98 ▲30.23 | 41.20 ▲1.17 |
Posts /wp-admin/edit.php | 2,243 ▲161 | 3.15 ▲1.12 | 57.01 ▲21.20 | 35.36 ▲1.96 |
Add New Post /wp-admin/post-new.php | 1,656 ▲130 | 23.81 ▲0.46 | 687.31 ▲21.10 | 34.92 ▼16.28 |
Media Library /wp-admin/upload.php | 1,559 ▲159 | 5.51 ▲1.34 | 106.46 ▲8.55 | 45.25 ▲1.60 |
Photo Engine /wp-admin/admin.php?page=wplr_sync_settings | 1,201 | 4.34 | 98.82 | 41.03 |
Dashboard /wp-admin/admin.php?page=meowapps-main-menu | 5,321 | 2.89 | 39.54 | 48.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie tables detected upon uninstall: 4 tables
- wp_lrsync_collections
- wp_lrsync_meta
- wp_lrsync_relations
- wp_lrsync
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 11× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'MeowCommon_Admin' not found in wp-content/plugins/wplr-sync/classes/admin.php:2
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wplr-sync/classes/error.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wplr-sync/classes/error.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wplr-sync/classes/init.php:3
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHWPINC/class-IXR.php' (include_path='.:/usr/share/php') in wp-content/plugins/wplr-sync/classes/error.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHWPINC/class-IXR.php' (include_path='.:/usr/share/php') in wp-content/plugins/wplr-sync/classes/error.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wplr-sync/wplr-sync.php:22
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/wplr-sync/classes/error.php on line 3
- > PHP Warning
require_once(ABSPATHWPINC/class-IXR.php): failed to open stream: No such file or directory in wp-content/plugins/wplr-sync/classes/error.php on line 3
- > PHP Warning
require_once(ABSPATHWPINC/class-IXR.php): failed to open stream: No such file or directory in wp-content/plugins/wplr-sync/classes/error.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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 your attention:
- Screenshots: A description for screenshot #5 is missing in wplr-sync/assets to your readme.txt
wplr-sync/wplr-sync.php Passed 13 tests
The primary PHP file in "Photo Engine (Media Organizer & Lightroom)" version 6.2.8 is used by WordPress to initiate all plugin functionality
105 characters long description:
Synchronize and maintain your photos, collections, keywords and metadata between Lightroom and WordPress.
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
Everything looks great! No dangerous files found in this plugin10,151 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 740 | 516 | 5,792 |
JavaScript | 25 | 511 | 201 | 3,779 |
PO File | 1 | 164 | 212 | 510 |
Markdown | 1 | 29 | 0 | 70 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 43.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 316.00 |
Average method complexity | 3.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 316 | |
▷ Static methods | 18 | 5.70% |
▷ Public methods | 308 | 97.47% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 2.53% |
Functions | 13 | |
▷ Named functions | 4 | 30.77% |
▷ Anonymous functions | 9 | 69.23% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 images were found in this plugin