Benchmarks
Plugin footprint 83% 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.13MB] [CPU: ▼16.70ms] Passed 4 tests
Server-side resources used by Import / Export Customizer Settings
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▼0.04 | 39.81 ▼16.15 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.37 ▼17.72 |
Posts /wp-admin/edit.php | 3.36 ▼0.49 | 51.48 ▼18.30 |
Add New Post /wp-admin/post-new.php | 5.89 ▼0.00 | 93.90 ▼14.61 |
Media Library /wp-admin/upload.php | 3.23 ▼0.00 | 36.38 ▼0.89 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Import / Export Customizer Settings
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.72 ▲0.44 | 1.86 ▼0.14 | 38.70 ▼5.24 |
Dashboard /wp-admin | 2,195 ▲18 | 5.59 ▼0.06 | 92.21 ▲2.00 | 37.85 ▼6.23 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.03 ▲0.02 | 40.31 ▼6.22 | 37.00 ▼1.78 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.04 ▼0.19 | 618.48 ▼85.83 | 49.41 ▼5.01 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.23 ▲0.03 | 99.81 ▼13.41 | 44.12 ▲1.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
require_once(): Failed opening required 'ASTRA_IMPORT_EXPORT_DIRinc/classes/class-astra-import-export-loader.php' (include_path='.:/usr/share/php') in wp-content/plugins/astra-import-export/inc/class-astra-import-export.php on line 41
- > PHP Warning
require_once(ASTRA_IMPORT_EXPORT_DIRinc/classes/class-astra-import-export-loader.php): failed to open stream: No such file or directory in wp-content/plugins/astra-import-export/inc/class-astra-import-export.php on line 41
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/astra-import-export/inc/classes/class-astra-import-export-loader.php:53
- > PHP Fatal error
Uncaught Error: Call to undefined function get_template() in wp-content/plugins/astra-import-export/astra-import-export.php:14
- > PHP Warning
Use of undefined constant ASTRA_IMPORT_EXPORT_DIR - assumed 'ASTRA_IMPORT_EXPORT_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/astra-import-export/inc/class-astra-import-export.php on line 41
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2 in astra-import-export/assets to your readme.txt
astra-import-export/astra-import-export.php Passed 13 tests
"Import / Export Customizer Settings" version 1.0.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
106 characters long description:
This plugin is an add-on for the Astra WordPress Theme. It will help in Import Export Customizer settings.
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
Good job! No executable or dangerous file extensions detected365 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 67 | 129 | 229 |
JavaScript | 6 | 9 | 8 | 109 |
CSS | 2 | 1 | 0 | 27 |
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.46 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 4.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 4 | 40.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin