Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.96MB] [CPU: ▼3.01ms] Passed 4 tests
Server-side resources used by Starter Templates by FancyWP
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.43 ▲0.97 | 44.30 ▲3.33 |
Dashboard /wp-admin | 4.27 ▲0.93 | 52.79 ▼9.98 |
Posts /wp-admin/edit.php | 4.39 ▲1.03 | 51.93 ▲4.69 |
Add New Post /wp-admin/post-new.php | 6.85 ▲0.97 | 95.70 ▼10.09 |
Media Library /wp-admin/upload.php | 4.20 ▲0.97 | 40.73 ▲7.24 |
Starter Templates /wp-admin/themes.php?page=starter-templates | 4.21 | 38.16 |
Server storage [IO: ▲0.69MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Starter Templates by FancyWP
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.20 ▼1.15 | 1.58 ▼0.44 | 39.18 ▼5.22 |
Dashboard /wp-admin | 2,213 ▲25 | 4.86 ▼0.02 | 110.19 ▲6.92 | 36.79 ▼7.87 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.01 ▲0.01 | 38.39 ▼0.01 | 35.14 ▼0.24 |
Add New Post /wp-admin/post-new.php | 1,536 ▼8 | 23.32 ▲5.23 | 639.28 ▲13.88 | 52.92 ▼5.42 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.21 ▼0.00 | 93.82 ▼4.98 | 43.34 ▼1.57 |
Starter Templates /wp-admin/themes.php?page=starter-templates | 2,905 | 2.75 | 60.35 | 48.04 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
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 | 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
- 9× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Importer' not found in wp-content/plugins/starter-templates/importer/class-wxr-importer.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/starter-templates/classess/class-export.php:3
- > PHP Fatal error
Uncaught Error: Class 'Starter_Templates_Importer_Logger' not found in wp-content/plugins/starter-templates/importer/class-logger-serversentevents.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/starter-templates/classess/class-tgm.php:2100
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/starter-templates/templates/modal.php:4
- > PHP Fatal error
Uncaught Error: Class 'TGM_Plugin_Activation' not found in wp-content/plugins/starter-templates/classess/class-plugin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/starter-templates/templates/preview.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/starter-templates/templates/dashboard.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/starter-templates/starter-templates.php:19
- > 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 issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (How to Install and Activate Starter Templates), #2 (How to import Starter Templates)
- Requires php: The plugin version is formatted incorrectly
starter-templates/starter-templates.php Passed 13 tests
The main file in "Starter Templates by FancyWP" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
48 characters long description:
Import free sites build with Starter Blog 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,190 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 1,304 | 2,687 | 5,097 |
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 is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 54.41 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 263.00 |
Average method complexity | 4.56 |
▷ 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 | 249 | |
▷ Static methods | 12 | 4.82% |
▷ Public methods | 183 | 73.49% |
▷ Protected methods | 62 | 24.90% |
▷ Private methods | 4 | 1.61% |
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 are no PNG files in this plugin