Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲1.02MB] [CPU: ▼137.81ms] Passed 4 tests
A check of server-side resources used by Customify Site Library
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲1.11 | 41.58 ▲18.78 |
Dashboard /wp-admin | 4.06 ▲1.01 | 58.95 ▲11.09 |
Posts /wp-admin/edit.php | 4.18 ▲1.07 | 53.33 ▲7.91 |
Add New Post /wp-admin/post-new.php | 6.42 ▲0.99 | 99.35 ▼578.10 |
Media Library /wp-admin/upload.php | 4.01 ▲1.01 | 40.98 ▲7.88 |
Customify Sites /wp-admin/themes.php?page=customify-sites | 4.03 | 32.56 |
Server storage [IO: ▲0.71MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 38 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Customify Site Library
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲112 | 16.27 ▲0.34 | 8.70 ▲0.47 | 48.90 ▼2.37 |
Dashboard /wp-admin | 2,978 ▲47 | 5.93 ▼0.02 | 157.98 ▲0.61 | 115.73 ▼2.02 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.68 ▼0.01 | 69.38 ▲3.29 | 89.70 ▼3.63 |
Add New Post /wp-admin/post-new.php | 1,675 ▼8 | 18.89 ▲0.15 | 371.57 ▼7.53 | 109.44 ▼6.64 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.01 ▼0.00 | 149.39 ▼0.98 | 125.33 ▲8.80 |
Customify Sites /wp-admin/themes.php?page=customify-sites | 1,223 | 2.83 | 66.46 | 88.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Please take a closer look at the following
- 9× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'TGM_Plugin_Activation' not found in wp-content/plugins/customify-sites/classess/class-plugin.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Importer' not found in wp-content/plugins/customify-sites/importer/class-wxr-importer.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/customify-sites/classess/class-export.php:3
- > PHP Fatal error
Uncaught Error: Class 'Customify_Sites_Importer_Logger' not found in wp-content/plugins/customify-sites/importer/class-logger-serversentevents.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/customify-sites/customify-sites.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/customify-sites/templates/modal.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/customify-sites/templates/preview.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/customify-sites/classess/class-tgm.php:2100
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/customify-sites/templates/dashboard.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: demo, theme demos, one click import
customify-sites/customify-sites.php Passed 13 tests
Analyzing the main PHP file in "Customify Site Library" version 0.0.9
45 characters long description:
Import free sites build with Customify theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin10,302 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 1,310 | 2,691 | 5,209 |
JavaScript | 3 | 607 | 998 | 2,651 |
CSS | 7 | 54 | 54 | 1,105 |
Sass | 2 | 61 | 4 | 822 |
SVG | 6 | 12 | 3 | 515 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 56.24 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 263.00 |
Average method complexity | 4.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 252 | |
▷ Static methods | 12 | 4.76% |
▷ Public methods | 186 | 73.81% |
▷ Protected methods | 62 | 24.60% |
▷ Private methods | 4 | 1.59% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 3 | 33.33% |
▷ Class constants | 6 | 66.67% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin