Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼136.27ms] Passed 4 tests
Analyzing server-side resources used by Guillotheme
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.59 ▼0.13 | 16.21 ▼2.48 |
Dashboard /wp-admin | 3.07 ▲0.02 | 45.87 ▲3.43 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 41.52 ▲1.00 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 91.56 ▼539.09 |
Media Library /wp-admin/upload.php | 3.02 ▲0.01 | 31.84 ▼4.51 |
Guillotheme /wp-admin/options-general.php?page=guillotheme | 2.98 | 26.54 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Guillotheme
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,879 ▲1,285 | 34.22 ▲18.42 | 250.07 ▲241.61 | 53.64 ▲7.59 |
Dashboard /wp-admin | 2,980 ▲49 | 5.47 ▼0.50 | 121.84 ▼20.59 | 108.98 ▲3.39 |
Posts /wp-admin/edit.php | 2,746 ▲7 | 2.82 ▲0.12 | 65.31 ▲3.59 | 90.65 ▲1.70 |
Add New Post /wp-admin/post-new.php | 3,707 ▲2,205 | 15.56 ▼3.22 | 396.65 ▲31.71 | 114.82 ▲11.78 |
Media Library /wp-admin/upload.php | 1,814 ▲4 | 4.78 ▼0.24 | 109.07 ▼46.18 | 122.98 ▲5.06 |
Guillotheme /wp-admin/options-general.php?page=guillotheme | 1,070 | 2.21 | 52.01 | 68.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: headless, translation-ready, decoupled
guillotheme/guillotheme.php Passed 13 tests
"Guillotheme" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
71 characters long description:
Chops the head right off your WordPress theme, disabling the front-end.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin191 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 63 | 108 | 164 |
JavaScript | 1 | 5 | 12 | 27 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 3.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
There were not PNG files found in your plugin