Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼1.89ms] Passed 4 tests
Server-side resources used by Atlas Content Modeler
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 39.18 ▼0.49 |
Dashboard /wp-admin | 3.40 ▲0.09 | 44.57 ▼3.79 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 49.57 ▲5.78 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 89.27 ▼3.34 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 35.85 ▲0.05 |
Taxonomies /wp-admin/admin.php?page=atlas-content-modeler&view=taxonomies | 3.32 | 35.92 |
Tools /wp-admin/admin.php?page=atlas-content-modeler&view=tools | 3.29 | 32.09 |
Models /wp-admin/admin.php?page=atlas-content-modeler | 3.29 | 33.26 |
Settings /wp-admin/admin.php?page=atlas-content-modeler&view=settings | 3.29 | 33.55 |
Server storage [IO: ▲2.21MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 248 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_acm_post_to_post |
New WordPress options |
---|
widget_recent-posts |
atlas_content_modeler_post_types |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
atlas_content_modeler_current_version |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Atlas Content Modeler
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲80 | 14.34 ▲0.06 | 1.85 ▲0.11 | 42.09 ▼3.96 |
Dashboard /wp-admin | 2,251 ▲80 | 5.58 ▼0.02 | 86.62 ▼15.44 | 38.72 ▼4.04 |
Posts /wp-admin/edit.php | 2,152 ▲52 | 2.00 ▲0.04 | 35.78 ▲0.92 | 36.05 ▲2.51 |
Add New Post /wp-admin/post-new.php | 1,563 ▲32 | 18.63 ▼4.66 | 632.92 ▼38.21 | 63.37 ▲12.16 |
Media Library /wp-admin/upload.php | 1,455 ▲55 | 4.29 ▲0.13 | 100.41 ▼5.58 | 40.40 ▼0.32 |
Taxonomies /wp-admin/admin.php?page=atlas-content-modeler&view=taxonomies | 1,118 | 11.88 | 246.93 | 109.14 |
Tools /wp-admin/admin.php?page=atlas-content-modeler&view=tools | 1,036 | 11.48 | 121.72 | 41.75 |
Models /wp-admin/admin.php?page=atlas-content-modeler | 1,019 | 11.42 | 92.41 | 36.03 |
Settings /wp-admin/admin.php?page=atlas-content-modeler&view=settings | 1,030 | 11.40 | 89.90 | 43.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie tables were found after uninstall: 1 table
- wp_acm_post_to_post
- This plugin did not uninstall successfully, leaving 8 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- atlas_content_modeler_post_types
- can_compress_scripts
- widget_recent-comments
- atlas_content_modeler_current_version
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/atlas-content-modeler/includes/shared-assets/views/banners/atlas-content-modeler-feedback-banner.php
- 24× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function WPE\\AtlasContentModeler\\Settings\\esc_url() in wp-content/plugins/atlas-content-modeler/includes/settings/views/admin-menu-page.php:19
- > PHP Fatal error
Uncaught Error: Class 'WPE\\AtlasContentModeler\\ContentConnect\\Relationships\\Relationship' not found in wp-content/plugins/atlas-content-modeler/includes/content-connect/includes/Relationships/PostToPost.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function WPE\\AtlasContentModeler\\REST_API\\ContentModel\\add_action() in wp-content/plugins/atlas-content-modeler/includes/rest-api/routes/content-model.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function WPE\\AtlasContentModeler\\Shared\\add_action() in wp-content/plugins/atlas-content-modeler/includes/shared-assets/wp_scripts/shared_assets.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function WPE\\AtlasContentModeler\\REST_API\\Taxonomy\\add_action() in wp-content/plugins/atlas-content-modeler/includes/rest-api/routes/taxonomy.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function WPE\\AtlasContentModeler\\REST_API\\DismissFeedbackBanner\\add_action() in wp-content/plugins/atlas-content-modeler/includes/rest-api/routes/dismiss-feedback-banner.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function WPE\\AtlasContentModeler\\REST_API\\ContentModelField\\add_action() in wp-content/plugins/atlas-content-modeler/includes/rest-api/routes/content-model-field.php:24
- > PHP Fatal error
Uncaught Error: Class 'WPE\\AtlasContentModeler\\ContentConnect\\Tables\\BaseTable' not found in wp-content/plugins/atlas-content-modeler/vendor/wpengine/acm-content-connect/includes/Tables/PostToPost.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function WPE\\AtlasContentModeler\\REST_API\\ContentModelFields\\add_action() in wp-content/plugins/atlas-content-modeler/includes/rest-api/routes/content-model-fields.php:17
- > PHP Warning
Use of undefined constant ATLAS_CONTENT_MODELER_INCLUDES_DIR - assumed 'ATLAS_CONTENT_MODELER_INCLUDES_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/atlas-content-modeler/includes/wp-cli/class-model.php on line 14
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
No tags were detected
atlas-content-modeler/atlas-content-modeler.php Passed 13 tests
The main file in "Atlas Content Modeler" v. 0.25.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
37 characters long description:
Model content for headless WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin24,390 lines of code in 237 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSX | 94 | 650 | 481 | 11,717 |
PHP | 74 | 1,808 | 4,124 | 7,431 |
Sass | 28 | 371 | 1 | 2,059 |
JavaScript | 31 | 204 | 465 | 1,255 |
JSON | 2 | 0 | 0 | 1,147 |
Markdown | 6 | 305 | 0 | 779 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 15.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 95.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 33 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 31 | |
▷ Abstract classes | 4 | 12.90% |
▷ Concrete classes | 27 | 87.10% |
▷ Final classes | 2 | 7.41% |
Methods | 225 | |
▷ Static methods | 25 | 11.11% |
▷ Public methods | 214 | 95.11% |
▷ Protected methods | 2 | 0.89% |
▷ Private methods | 9 | 4.00% |
Functions | 210 | |
▷ Named functions | 169 | 80.48% |
▷ Anonymous functions | 41 | 19.52% |
Constants | 9 | |
▷ Global constants | 5 | 55.56% |
▷ Class constants | 4 | 44.44% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin