Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.95ms] Passed 4 tests
Analyzing server-side resources used by CSS Above The Fold
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.90 ▲2.01 |
Dashboard /wp-admin | 3.33 ▲0.02 | 43.71 ▼7.03 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.36 ▲3.31 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 80.52 ▼22.39 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.85 ▼0.37 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
bs_css_atf_timestamp |
bs_css_atf |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CSS Above The Fold
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.27 ▼0.08 | 1.76 ▲0.17 | 39.15 ▲4.38 |
Dashboard /wp-admin | 2,198 ▲21 | 5.59 ▼0.07 | 92.68 ▼6.91 | 40.86 ▼5.34 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.95 ▼0.02 | 34.25 ▲0.41 | 30.86 ▼6.74 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.19 ▼0.19 | 677.85 ▼1.33 | 82.94 ▲31.53 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.26 ▲0.04 | 93.28 ▼0.39 | 39.83 ▲0.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 8 options in the database
- bs_css_atf_timestamp
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- bs_css_atf
- widget_recent-posts
Smoke tests Passed 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 Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 11 tag instead of maximum 10
css-above-the-fold/css-above-the-fold.php Passed 13 tests
"CSS Above The Fold" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
120 characters long description:
Faster CSS browser rendering displaying selected fragments of your theme stylesheet file directly into the head section.
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 plugin79 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 49 | 65 | 79 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 5 | 100.00% |
▷ Public methods | 1 | 20.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 80.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin