Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.21ms] Passed 4 tests
A check of server-side resources used by Atom Builder
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.29 ▼0.95 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.33 ▼2.96 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 52.05 ▼0.71 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 98.99 ▲2.27 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.47 ▼0.22 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_atom_builder_post_widget |
widget_recent-comments |
widget_theysaidso_widget |
widget_atom_builder_page_widget |
widget_atom_builder_posts_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Atom Builder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.37 ▼1.01 | 1.71 ▼0.08 | 37.62 ▼2.71 |
Dashboard /wp-admin | 2,200 ▲15 | 4.86 ▲0.03 | 107.59 ▼8.56 | 43.07 ▼3.99 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▲0.01 | 41.69 ▲3.73 | 34.94 ▲4.09 |
Add New Post /wp-admin/post-new.php | 1,533 ▲12 | 23.21 ▼0.06 | 655.30 ▼15.05 | 61.40 ▲0.92 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.18 ▼0.02 | 96.33 ▼3.73 | 41.50 ▼0.53 |
Uninstaller [IO: ▲0.08MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the followingZombie WordPress options were found after uninstall: 10 options
- This plugin did not uninstall without warnings or errors
- > Error in wp-content/plugins/atom-builder/uninstall.php+16
Uncaught Error: Call to undefined function carbon_builder_cleanup_sidebars() in wp-content/plugins/atom-builder/uninstall.php:16
Stack trace:
#0 wp-admin/includes/plugin.php(1245): include_once()
#1 wp-admin/includes/plugin.php(960): uninstall_plugin() - This plugin has failed uninstalling correctly, leaving 23 files (0.08MB) in the plugin directory
- (new file) css/atom-builder.css
- (new file) languages/atom-builder-fr_FR.po
- (new file) languages/atom-builder-fr_FR.mo
- (new file) inc/userhelp-functions.php
- (new file) inc/template-functions.php
- (new file) inc/helper-functions.php
- (new file) css/atom-builder.min.css
- (new file) inc/cleanup-functions.php
- (new file) atom-builder.php
- (new file) inc/init-functions.php
- ...
- widget_atom_builder_post_widget
- can_compress_scripts
- widget_atom_builder_posts_widget
- widget_theysaidso_widget
- recovery_mode_email_last_sent
- db_upgraded
- widget_atom_builder_page_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
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
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 7× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/atom-builder/inc/userhelp-functions.php
- > /wp-content/plugins/atom-builder/uninstall.php
- > /wp-content/plugins/atom-builder/inc/helper-functions.php
- > /wp-content/plugins/atom-builder/atom-builder.php
- > /wp-content/plugins/atom-builder/inc/init-functions.php
- > /wp-content/plugins/atom-builder/inc/cleanup-functions.php
- > /wp-content/plugins/atom-builder/inc/template-functions.php
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/atom-builder/widgets/atom-post.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/atom-builder/widgets/atom-posts.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/atom-builder/widgets/templates/widget-posts.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function the_title() in wp-content/plugins/atom-builder/widgets/templates/widget-post.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function the_title() in wp-content/plugins/atom-builder/widgets/templates/widget-page.php:15
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/atom-builder/widgets/atom-page.php:7
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
9 plugin tags: page builder, content, custom widgets, widget area, widgets...
atom-builder/atom-builder.php Passed 13 tests
The main file in "Atom Builder" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
83 characters long description:
This plugin enables you to painlessly build more complex layout, the WordPress Way.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,037 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 383 | 449 | 780 |
PO File | 1 | 40 | 42 | 141 |
CSS | 6 | 9 | 9 | 116 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 13.67 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 27 | |
▷ Named functions | 27 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin