Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.19MB] [CPU: ▼3.86ms] Passed 4 tests
A check of server-side resources used by WP-Basics
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 41.69 ▲0.65 |
Dashboard /wp-admin | 3.55 ▲0.24 | 48.67 ▼0.97 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 49.60 ▲1.05 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 86.85 ▼16.15 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 36.61 ▲4.93 |
Custom CSS /wp-admin/admin.php?page=wp_basics&tab=6 | 3.42 | 41.43 |
Import / Export /wp-admin/admin.php?page=wp_basics&tab=import_export_default | 3.42 | 36.28 |
Post Pagination /wp-admin/admin.php?page=wp_basics&tab=2 | 3.42 | 35.44 |
Author info /wp-admin/admin.php?page=wp_basics&tab=4 | 3.42 | 34.42 |
Social Buttons /wp-admin/admin.php?page=wp_basics&tab=5 | 3.42 | 30.96 |
Breadcrumbs /wp-admin/admin.php?page=wp_basics&tab=0 | 3.42 | 32.57 |
Related Content /wp-admin/admin.php?page=wp_basics&tab=3 | 3.42 | 35.23 |
Pagination /wp-admin/admin.php?page=wp_basics&tab=1 | 3.42 | 35.29 |
Server storage [IO: ▲5.48MB] [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: 356 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
wpb_opt |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
redux-framework-tracking |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP-Basics
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,113 ▲378 | 15.53 ▲1.13 | 87.29 ▲85.57 | 44.59 ▲1.43 |
Dashboard /wp-admin | 2,294 ▲106 | 4.86 ▲0.01 | 100.09 ▼16.90 | 41.21 ▼3.44 |
Posts /wp-admin/edit.php | 2,177 ▲88 | 2.01 ▲0.04 | 36.90 ▼2.47 | 35.57 ▼2.38 |
Add New Post /wp-admin/post-new.php | 1,603 ▲60 | 23.51 ▲4.92 | 683.77 ▲48.38 | 52.23 ▼2.97 |
Media Library /wp-admin/upload.php | 1,476 ▲91 | 4.24 ▲0.10 | 97.43 ▼2.15 | 41.64 ▼3.76 |
Custom CSS /wp-admin/admin.php?page=wp_basics&tab=6 | 2,107 | 4.79 | 85.09 | 39.29 |
Import / Export /wp-admin/admin.php?page=wp_basics&tab=import_export_default | 2,110 | 4.75 | 74.31 | 30.74 |
Post Pagination /wp-admin/admin.php?page=wp_basics&tab=2 | 2,113 | 4.76 | 61.79 | 30.18 |
Author info /wp-admin/admin.php?page=wp_basics&tab=4 | 2,110 | 4.75 | 61.57 | 30.11 |
Social Buttons /wp-admin/admin.php?page=wp_basics&tab=5 | 2,107 | 4.80 | 69.41 | 29.61 |
Breadcrumbs /wp-admin/admin.php?page=wp_basics&tab=0 | 2,110 | 4.82 | 62.98 | 32.55 |
Related Content /wp-admin/admin.php?page=wp_basics&tab=3 | 2,113 | 4.75 | 62.34 | 31.26 |
Pagination /wp-admin/admin.php?page=wp_basics&tab=1 | 2,113 | 4.76 | 62.62 | 30.73 |
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
- The uninstall procedure has failed, leaving 8 options in the database
- wpb_opt
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- redux-framework-tracking
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 56 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp_basics&tab=1
- > Warning in wp-content/plugins/wp-basics/ReduxFramework/ReduxCore/framework.php+2694
A non-numeric value encountered
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
- 21× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-basics/WP-Basics.php:17
- > PHP Fatal error
Uncaught Error: Class 'ReduxFramework' not found in wp-content/plugins/wp-basics/ReduxFramework/ReduxCore/inc/validation/url/validation_url.php:2
- > PHP Fatal error
Uncaught Error: Class 'ReduxFramework' not found in wp-content/plugins/wp-basics/ReduxFramework/ReduxCore/inc/validation/numeric/validation_numeric.php:2
- > PHP Fatal error
Uncaught Error: Class 'ReduxFramework' not found in wp-content/plugins/wp-basics/ReduxFramework/ReduxCore/inc/validation/str_replace/validation_str_replace.php:2
- > PHP Fatal error
Uncaught Error: Class 'ReduxFramework' not found in wp-content/plugins/wp-basics/ReduxFramework/ReduxCore/inc/validation/html/validation_html.php:2
- > PHP Fatal error
Uncaught Error: Class 'ReduxFramework' not found in wp-content/plugins/wp-basics/ReduxFramework/ReduxCore/inc/validation/email_not_empty/validation_email_not_empty.php:2
- > PHP Fatal error
Uncaught Error: Class 'ReduxFramework' not found in wp-content/plugins/wp-basics/ReduxFramework/ReduxCore/inc/validation/preg_replace/validation_preg_replace.php:2
- > PHP Fatal error
Uncaught Error: Class 'ReduxFramework' not found in wp-content/plugins/wp-basics/ReduxFramework/ReduxCore/inc/validation/color/validation_color.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-basics/ReduxFramework/ReduxCore/inc/fields/select/elusive-icons.php:309
- > PHP Fatal error
Uncaught Error: Class 'ReduxFramework' not found in wp-content/plugins/wp-basics/ReduxFramework/ReduxCore/inc/validation/email/validation_email.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp_basics&tab=1
- > Javascript (severe) in unknown
/wp-content/plugins/wp-basics/ReduxFramework/ReduxCore/assets/js/redux.min.js?ver=1394531542 1:21385 Uncaught TypeError: Cannot read properties of undefined (reading 'msie')
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: social sharing, pagination, breadcrumbs, author info, related content...
wp-basics/WP-Basics.php 92% from 13 tests
The entry point to "WP-Basics" version 2.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-basics.php" instead of "WP-Basics.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin28,815 lines of code in 284 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 119 | 2,223 | 2,080 | 10,175 |
PHP | 70 | 2,870 | 4,269 | 9,149 |
CSS | 37 | 635 | 327 | 4,984 |
LESS | 26 | 222 | 43 | 2,979 |
Sass | 24 | 3 | 0 | 1,057 |
SVG | 1 | 0 | 0 | 309 |
Markdown | 2 | 28 | 0 | 64 |
Bourne Shell | 1 | 21 | 0 | 52 |
JSON | 3 | 0 | 0 | 45 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 30.85 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 587.00 |
Average method complexity | 7.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 95.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 61 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 61 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 299 | |
▷ Static methods | 5 | 1.67% |
▷ Public methods | 292 | 97.66% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 2.34% |
Functions | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
33 PNG files occupy 0.13MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
ReduxFramework/ReduxCore/assets/img/3cl.png | 3.08KB | 0.33KB | ▼ 89.13% |
ReduxFramework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-icons_888888_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
ReduxFramework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
ReduxFramework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
ReduxFramework/ReduxCore/assets/img/3cm.png | 2.96KB | 0.29KB | ▼ 90.35% |