Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼142.04ms] Passed 4 tests
A check of server-side resources used by Lorem Ipsum Replace Content
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.93 ▲0.21 | 37.79 ▲13.31 |
Dashboard /wp-admin | 3.09 ▲0.03 | 45.27 ▼3.06 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 49.63 ▲7.12 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 93.99 ▼574.08 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 35.85 ▲1.85 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Lorem Ipsum Replace Content
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 16.15 ▲0.62 | 9.25 ▲1.81 | 50.79 ▲4.07 |
Dashboard /wp-admin | 2,973 ▲39 | 6.11 ▲0.18 | 152.29 ▲0.18 | 117.81 ▼1.03 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.68 ▼0.01 | 72.16 ▲3.34 | 99.44 ▲5.43 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.84 ▲0.17 | 392.77 ▼15.27 | 113.29 ▲2.01 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.00 ▲0.01 | 156.77 ▼7.54 | 131.04 ▼10.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
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
Even though no errors were found, 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
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lorem-ipsum-replace-content/lorem-ipsum-replace-content.php:41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Requires at least: Version format is invalid
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== lorem-ipsum-replace-content ===
)
lorem-ipsum-replace-content/lorem-ipsum-replace-content.php Passed 13 tests
Analyzing the main PHP file in "Lorem Ipsum Replace Content" version 0.4
52 characters long description:
Render your content with lorem ipsum, word for word.
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
No dangerous file extensions were detected57 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 15 | 39 | 54 |
Markdown | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin