Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.37MB] [CPU: ▼5.49ms] Passed 4 tests
This is a short check of server-side resources used by Rektic
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 47.73 ▲1.04 |
Dashboard /wp-admin | 3.95 ▲0.64 | 57.75 ▲11.48 |
Posts /wp-admin/edit.php | 4.00 ▲0.64 | 57.59 ▲6.29 |
Add New Post /wp-admin/post-new.php | 5.77 ▼0.12 | 69.16 ▼40.77 |
Media Library /wp-admin/upload.php | 3.87 ▲0.64 | 50.71 ▲14.28 |
Rektic Settings /wp-admin/options-general.php?page=settings-rektic | 3.84 | 43.39 |
Create A New Article /wp-admin/admin.php?page=rektic-wp-article-new | 3.81 | 45.11 |
Edit Article /wp-admin/admin.php?page=rektic-wp-article-edit | 3.81 | 58.83 |
My Rektic Articles /wp-admin/admin.php?page=rektic-wp | 2.78 | 19.08 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 107 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Rektic
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲160 | 14.45 ▲0.21 | 2.15 ▲0.52 | 64.70 ▲23.85 |
Dashboard /wp-admin | 2,290 ▲102 | 5.10 ▲0.21 | 117.52 ▲11.10 | 47.96 ▲6.69 |
Posts /wp-admin/edit.php | 2,178 ▲89 | 2.28 ▲0.28 | 39.74 ▲1.45 | 32.34 ▼2.44 |
Add New Post /wp-admin/post-new.php | 1,569 ▲36 | 23.18 ▲0.10 | 640.90 ▼74.29 | 35.31 ▼22.80 |
Media Library /wp-admin/upload.php | 1,474 ▲86 | 4.47 ▲0.26 | 107.70 ▼8.39 | 44.64 ▼1.69 |
Rektic Settings /wp-admin/options-general.php?page=settings-rektic | 886 | 2.42 | 30.60 | 25.93 |
Create A New Article /wp-admin/admin.php?page=rektic-wp-article-new | 864 | 2.28 | 30.38 | 28.93 |
Edit Article /wp-admin/admin.php?page=rektic-wp-article-edit | 864 | 2.28 | 30.87 | 27.47 |
My Rektic Articles /wp-admin/admin.php?page=rektic-wp | 864 | 2.26 | 34.79 | 27.77 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 25% 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)
These server-side errors were triggered
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=rektic-wp
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+204
Undefined offset: 0
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=rektic-wp
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+205
Trying to get property 'guid' of non-object
- 36 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=rektic-wp
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+221
Trying to get property 'ID' of non-object
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=rektic-wp
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+222
Trying to get property 'post_title' of non-object
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=rektic-wp
- > Notice in wp-content/plugins/rektic-wp/src/App/Backend/MenuPages.php+169
Trying to access array offset on value of type bool
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/rektic-wp/vendor/micropackage/requirements/tests/bootstrap.php
- 39× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/rektic-wp/vendor/micropackage/requirements/tests/Checker/test-theme.php:18
- > PHP Fatal error
Uncaught Error: Class 'Micropackage\\Requirements\\Abstracts\\Checker' not found in wp-content/plugins/rektic-wp/vendor/micropackage/requirements/src/Checker/DocHooks.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/rektic-wp/templates/articles-list.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/rektic-wp/vendor/micropackage/requirements/tests/Checker/test-wp.php:17
- > PHP Fatal error
Uncaught Error: Class 'Micropackage\\Requirements\\Abstracts\\Checker' not found in wp-content/plugins/rektic-wp/vendor/micropackage/requirements/src/Checker/PHP.php:16
- > PHP Fatal error
Uncaught Error: Class 'RekticWp\\Common\\Abstracts\\Base' not found in wp-content/plugins/rektic-wp/src/App/Backend/Notices.php:26
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/rektic-wp/vendor/micropackage/requirements/tests/Checker/test-php.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/rektic-wp/templates/empty-metabox.php:13
- > PHP Fatal error
Trait 'RekticWp\\Common\\Traits\\Singleton' not found in wp-content/plugins/rektic-wp/src/Config/Plugin.php on line 31
- > PHP Fatal error
Uncaught Error: Class 'Micropackage\\Requirements\\Abstracts\\Checker' not found in wp-content/plugins/rektic-wp/vendor/micropackage/requirements/src/Checker/Theme.php:16
- > 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)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: content, generate, generator, seo, article
rektic-wp/rektic-wp.php Passed 13 tests
This is the main PHP file of "Rektic" version 1.1.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
16 characters long description:
Rektic WP plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected9,084 lines of code in 88 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 60 | 907 | 1,912 | 3,816 |
JavaScript | 10 | 329 | 142 | 3,418 |
CSS | 5 | 143 | 26 | 931 |
PO File | 2 | 120 | 156 | 379 |
JSON | 5 | 0 | 0 | 225 |
Markdown | 4 | 85 | 0 | 175 |
Bourne Shell | 1 | 21 | 11 | 120 |
XML | 1 | 0 | 0 | 20 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 9.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 155.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 19 | |
Interfaces | 1 | |
Traits | 2 | |
Classes | 41 | |
▷ Abstract classes | 2 | 4.88% |
▷ Concrete classes | 39 | 95.12% |
▷ Final classes | 6 | 15.38% |
Methods | 241 | |
▷ Static methods | 31 | 12.86% |
▷ Public methods | 233 | 96.68% |
▷ Protected methods | 1 | 0.41% |
▷ Private methods | 7 | 2.90% |
Functions | 11 | |
▷ Named functions | 3 | 27.27% |
▷ Anonymous functions | 8 | 72.73% |
Constants | 8 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 8 | 100.00% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/public/images/logo.png | 6.91KB | 2.82KB | ▼ 59.21% |