Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.28ms] Passed 4 tests
Server-side resources used by Spediex For Theme
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 39.79 ▼0.90 |
Dashboard /wp-admin | 3.34 ▲0.03 | 48.52 ▼5.35 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.88 ▼5.58 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.99 ▼5.29 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.87 ▼0.14 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Spediex For Theme
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲30 | 14.35 ▼0.00 | 1.78 ▲0.15 | 39.59 ▼2.81 |
Dashboard /wp-admin | 2,200 ▲23 | 5.61 ▲0.03 | 87.04 ▼10.58 | 41.86 ▲2.76 |
Posts /wp-admin/edit.php | 2,102 ▼1 | 2.02 ▲0.03 | 41.53 ▼3.04 | 35.18 ▼2.54 |
Add New Post /wp-admin/post-new.php | 1,528 ▼6 | 23.48 ▲5.27 | 697.37 ▲67.15 | 64.76 ▼8.41 |
Media Library /wp-admin/upload.php | 1,405 ▲5 | 4.21 ▲0.08 | 98.65 ▼14.11 | 44.21 ▼4.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 20× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/spediex-for-theme/inc/pro/features/our-services.php:562
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/spediex-for-theme/inc/free/features/featured-section.php:379
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/spediex-for-theme/inc/free/features/featured-slider.php:348
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/spediex-for-theme/inc/pro/features/about-section.php:469
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/spediex-for-theme/inc/free/features/our-team.php:602
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/spediex-for-theme/inc/free/features/section-hide-show.php:78
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/spediex-for-theme/inc/free/features/our-sponsors.php:332
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/spediex-for-theme/inc/pro/features/our-testimonial.php:560
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/spediex-for-theme/inc/pro/features/featured-section.php:436
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/spediex-for-theme/inc/free/features/our-portfolio.php:477
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Contributors: The plugin contributors field is missing
spediex-for-theme/spediex-for-theme.php Passed 13 tests
The main file in "Spediex For Theme" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
33 characters long description:
Import all the demos on your site
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin9,649 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 44 | 128 | 571 | 9,535 |
CSS | 1 | 1 | 6 | 69 |
JavaScript | 2 | 9 | 0 | 45 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 5 | 22.73% |
▷ Public methods | 21 | 95.45% |
▷ Protected methods | 1 | 4.55% |
▷ Private methods | 0 | 0.00% |
Functions | 75 | |
▷ Named functions | 75 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin