Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.41MB] [CPU: ▼0.14ms] Passed 4 tests
Server-side resources used by CTL Behance Importer Lite
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.42 | 43.61 ▲4.18 |
Dashboard /wp-admin | 3.79 ▲0.45 | 53.58 ▲1.30 |
Posts /wp-admin/edit.php | 3.84 ▲0.45 | 57.11 ▲6.37 |
Add New Post /wp-admin/post-new.php | 6.31 ▲0.38 | 97.48 ▼11.50 |
Media Library /wp-admin/upload.php | 3.65 ▲0.38 | 42.47 ▲5.45 |
Documentation /wp-admin/admin.php?page=ctl-behance-importer-lite-documentation | 3.62 | 38.37 |
/wp-admin/admin.php?page=ctl-behance-importer-lite-page-work | 3.60 | 32.94 |
Settings /wp-admin/admin.php?page=ctl-behance-importer-lite-settings | 3.62 | 38.39 |
Galleries /wp-admin/admin.php?page=ctl-behance-importer-lite-manage-galleries | 3.62 | 37.81 |
Works /wp-admin/admin.php?page=ctl-behance-importer-lite-manage-works | 3.62 | 40.88 |
About us /wp-admin/admin.php?page=ctl-behance-importer-lite-about-us | 3.62 | 36.00 |
Server storage [IO: ▲3.33MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 43 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_ctl_be_imp_lite_settings |
wp_ctl_be_imp_lite_works |
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
ctl-behance-importer-lite-version |
Browser metrics Passed 4 tests
An overview of browser requirements for CTL Behance Importer Lite
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲83 | 14.34 ▲0.12 | 1.72 ▼0.04 | 39.72 ▼0.54 |
Dashboard /wp-admin | 2,250 ▲69 | 5.72 ▲0.02 | 86.76 ▼18.16 | 40.96 ▼7.18 |
Posts /wp-admin/edit.php | 2,162 ▲62 | 2.24 ▲0.23 | 36.23 ▼3.49 | 33.07 ▼4.36 |
Add New Post /wp-admin/post-new.php | 1,578 ▲50 | 22.66 ▼0.28 | 670.97 ▼58.78 | 51.36 ▼9.22 |
Media Library /wp-admin/upload.php | 1,455 ▲52 | 4.32 ▲0.08 | 103.22 ▲3.32 | 46.19 ▲2.21 |
Documentation /wp-admin/admin.php?page=ctl-behance-importer-lite-documentation | 1,315 | 1.80 | 27.97 | 54.55 |
/wp-admin/admin.php?page=ctl-behance-importer-lite-page-work | 950 | 1.84 | 25.82 | 41.60 |
Settings /wp-admin/admin.php?page=ctl-behance-importer-lite-settings | 1,134 | 1.93 | 27.75 | 37.86 |
Galleries /wp-admin/admin.php?page=ctl-behance-importer-lite-manage-galleries | 941 | 1.83 | 23.97 | 34.09 |
Works /wp-admin/admin.php?page=ctl-behance-importer-lite-manage-works | 947 | 1.83 | 27.50 | 36.69 |
About us /wp-admin/admin.php?page=ctl-behance-importer-lite-about-us | 2,194 | 18.43 | 356.92 | 110.79 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_ctl_be_imp_lite_settings
- wp_ctl_be_imp_lite_works
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- ctl-behance-importer-lite-version
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=ctl-behance-importer-lite-page-work
- > Notice in wp-content/plugins/ctl-behance-importer-lite/classes/CCTLBehanceImporterLite.php+1185
Undefined offset: 0
- > GET request to /wp-admin/admin.php?page=ctl-behance-importer-lite-page-work
- > Notice in wp-content/plugins/ctl-behance-importer-lite/classes/CCTLBehanceImporterLite.php+1185
Trying to get property 'name' of non-object
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=ctl-behance-importer-lite-about-us
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/admin.php?page=ctl-behance-importer-lite-about-us
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
- > GET request to /wp-admin/admin.php?page=ctl-behance-importer-lite-about-us
- > Deprecation (warning) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/yD/r/CxzjCMQABR5.js?_nc_x=Ij3Wp8lg5Kz 271 Listener added for a synchronous 'DOMSubtreeModified' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
- > GET request to /wp-admin/admin.php?page=ctl-behance-importer-lite-about-us
- > Console-api (severe) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/yD/r/CxzjCMQABR5.js?_nc_x=Ij3Wp8lg5Kz 60:573 "ErrorUtils caught an error:\n\nCannot listen to an undefined element. [Caught in: Tried to listen to element of type click]\n\nSubsequent non-fatal errors won't be logged; see https://fburl.com/debugjs."
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
ctl-behance-importer-lite/ctl-behance-importer-lite.php Passed 13 tests
The entry point to "CTL Behance Importer Lite" version 1.0 is a PHP file that has certain tags in its header comment area
33 characters long description:
Behance Importer Wordpress Plugin
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 plugin3,424 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 414 | 46 | 1,754 |
CSS | 9 | 160 | 46 | 681 |
JavaScript | 3 | 150 | 5 | 674 |
PO File | 1 | 123 | 131 | 298 |
SVG | 1 | 5 | 0 | 17 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 33.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 91 | |
▷ Static methods | 1 | 1.10% |
▷ Public methods | 46 | 50.55% |
▷ Protected methods | 34 | 37.36% |
▷ Private methods | 11 | 12.09% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
14 PNG files occupy 1.98MB with 1.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/traffic_light_circle_yellow.png | 4.76KB | 1.41KB | ▼ 70.51% |
images/traffic_light_circle_green.png | 2.32KB | 1.32KB | ▼ 43.33% |
images/shortcode_general.png | 103.70KB | 39.27KB | ▼ 62.13% |
images/logo_white.png | 10.97KB | 5.43KB | ▼ 50.49% |
images/page_works.png | 242.11KB | 82.75KB | ▼ 65.82% |