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.02MB] [CPU: ▼5.48ms] Passed 4 tests
Analyzing server-side resources used by Themes Speed Test
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.42 ▼6.88 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.53 ▼1.31 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.38 ▼6.14 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 95.57 ▼7.60 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.92 ▼0.91 |
Themes Speed Test /wp-admin/themes.php?page=themes_speed_test | 3.23 | 33.74 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Themes Speed Test: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.45 ▲0.26 | 1.79 ▼0.48 | 44.08 ▲1.78 |
Dashboard /wp-admin | 2,204 ▲13 | 5.84 ▼0.09 | 99.72 ▼13.83 | 39.81 ▼6.77 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.01 | 35.40 ▲0.41 | 33.39 ▼3.40 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.41 ▲0.57 | 633.29 ▼48.80 | 64.51 ▲12.63 |
Media Library /wp-admin/upload.php | 1,386 ▲1 | 4.19 ▼0.04 | 96.51 ▼6.81 | 42.35 ▼0.97 |
Themes Speed Test /wp-admin/themes.php?page=themes_speed_test | 1,017 | 2.11 | 31.89 | 50.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/themes-speed-test/themes-speed-test.php:21
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/themes.php?page=themes_speed_test
- > Javascript (severe) in unknown
/wp-admin/themes.php?page=themes_speed_test - Access to XMLHttpRequest at 'http://api.wpspeedster.com/v1/themes/info' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- > GET request to /wp-admin/themes.php?page=themes_speed_test
- > Network (severe)
http://api.wpspeedster.com/v1/themes/info - Failed to load resource: net::ERR_FAILED
Optimizations
Plugin configuration 96% from 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
3 plugin tags: theme, themes, speed test
themes-speed-test/themes-speed-test.php 92% from 13 tests
The main PHP file in "Themes Speed Test" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin128 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 19 | 18 | 128 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin