Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.14MB] [CPU: ▼5.80ms] Passed 4 tests
An overview of server-side resources used by Noor Starter Templates
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.06 ▼2.39 |
Dashboard /wp-admin | 3.49 ▲0.18 | 49.90 ▲0.16 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 45.60 ▼3.23 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.19 | 86.71 ▼10.21 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 34.05 ▼7.36 |
Starter Templates /wp-admin/themes.php?page=noor-starter-templates | 3.42 | 40.38 |
Server storage [IO: ▲0.84MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 67 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Noor Starter Templates
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.43 ▼0.12 | 1.82 ▼0.52 | 43.83 ▼0.26 |
Dashboard /wp-admin | 2,202 ▲25 | 5.63 ▼0.06 | 87.85 ▼0.20 | 41.65 ▼2.98 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.05 ▲0.00 | 36.88 ▲0.33 | 32.61 ▼6.93 |
Add New Post /wp-admin/post-new.php | 1,529 ▼4 | 23.38 ▲0.24 | 670.20 ▼13.44 | 53.83 ▲3.56 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.26 ▲0.04 | 112.99 ▼1.75 | 48.38 ▲3.00 |
Starter Templates /wp-admin/themes.php?page=noor-starter-templates | 1,056 | 13.23 | 228.14 | 36.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
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)
Good news, no errors were detected
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
Almost there! Just fix the following items
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function Noor_Starter_Templates\\is_admin() in wp-content/plugins/noor-starter-templates/inc/class-template-database-importer.php:125
- > PHP Fatal error
Uncaught Error: Class 'AwesomeMotive\\WPContentImporter2\\WXRImporter' not found in wp-content/plugins/noor-starter-templates/vendor/wxr-importer/Importer.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function Noor_Starter_Templates\\add_action() in wp-content/plugins/noor-starter-templates/inc/class-author-meta.php:38
- > PHP Fatal error
Uncaught Error: Class 'WP_Importer' not found in wp-content/plugins/noor-starter-templates/vendor/wxr-importer/WXRImporter.php:7
- > PHP Fatal error
Uncaught Error: Class 'AwesomeMotive\\WPContentImporter2\\WXRImporter' not found in wp-content/plugins/noor-starter-templates/inc/class-wxr-importer.php:12
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Setting' not found in wp-content/plugins/noor-starter-templates/inc/class-import-customizer-option.php:20
- > PHP Fatal error
Uncaught Error: Class 'Noor_Starter_Templates\\Logger' not found in wp-content/plugins/noor-starter-templates/inc/class-logger-cli.php:26
- > PHP Fatal error
Uncaught Error: Class 'AwesomeMotive\\WPContentImporter2\\WPImporterLogger' not found in wp-content/plugins/noor-starter-templates/vendor/wxr-importer/WPImporterLoggerCLI.php:4
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Setting' not found in wp-content/plugins/noor-starter-templates/inc/class-customizer-option.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: elementor, block editor, gutenberg, wpbakery, templates...
noor-starter-templates/noor-starter-templates.php Passed 13 tests
"Noor Starter Templates" version 1.0.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
48 characters long description:
Choose the prebuilt website and click to import.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin11,374 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 1,240 | 3,003 | 6,092 |
JavaScript | 12 | 71 | 50 | 3,387 |
Sass | 2 | 29 | 8 | 1,306 |
CSS | 3 | 70 | 11 | 312 |
JSON | 2 | 0 | 0 | 267 |
SVG | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 42.65 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 293.00 |
Average method complexity | 5.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 26 | 100.00% |
▷ Final classes | 2 | 7.69% |
Methods | 270 | |
▷ Static methods | 67 | 24.81% |
▷ Public methods | 195 | 72.22% |
▷ Protected methods | 40 | 14.81% |
▷ Private methods | 35 | 12.96% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
15 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/fonts/poppins.png | 2.88KB | 1.46KB | ▼ 49.42% |
assets/images/fonts/glegoo.png | 2.47KB | 1.31KB | ▼ 46.88% |
assets/images/fonts/cairo.png | 2.03KB | 0.96KB | ▼ 52.81% |
assets/images/fonts/abril-fatface.png | 2.60KB | 1.36KB | ▼ 47.78% |
assets/images/fonts/kufam.png | 1.98KB | 0.93KB | ▼ 53.13% |